if you make an array of structs, the index of the array can be thought of as a pointer to one of the structs. so in each struct, you can store neighbors as an array of integers.
if you make an array of structs, the index of the array can be thought of as a pointer to one of the structs. so in each struct, you can store neighbors as an array of integers.