Consider a graph with V vertices and E edges. The graph is represented using…

RSSB Computer Instructor · 2026 recruitment · Basic Computer Instructor · Paper II

Consider a graph with V vertices and E edges. The graph is represented using an adjacency matrix, where a matrix entry is maintained for every pair of vertices regardless of whether an edge exists between them.

What is the asymptotic space complexity of this representation ?

  1. A.

    O(V)

  2. B.

    O(E)

  3. C.

    O(V + E)

  4. D.

    O(V²)

  5. E.

    Question not attempted

Attempted by 60 students.

Sign up free to check your answer

Sign up free

Explore the full course: Rssb Senior Computer Instructor

Loading lesson…