Storage of undirected graph using vectors

why is the option all of them correct because to store graph we need 2-D array but the first option that is vector graph(N+1) defines a 1-D array