Space required to store a graph with V vertices as an adjacency matrix is:
Show answerHide answer
Correct answer: (A) O(V^2)
Explanation
A V × V matrix is needed.
Correct answer: (A) O(V^2)
Explanation
A V × V matrix is needed.
This is question 152 of DSSSB TGT Computer Science Full Mock Test 1. See all questions of this paper with answers, or attempt the paper as a timed online test to get your score and all-India rank.