Homework 8 Solutions

I don't think this will work. Just resize the adjList to be the right size.
The actually adjacency lists should start out length 0, until addEdge is called, so you don't need to do anything to them.