The array subscripts are ordered, but the size of the storage elements is not necessarily! Is that what you mean?
Generally, learning adjacency list storage in data structure now will be taught by pointers!
Of course, you can also use vector to create dynamic arrays to store them.