Question: let g be a graph on a vertices and n(n-1)/2 edges. Which of the following is correct? a. Adjancy matrix representation of G requires O(1)
let g be a graph on a vertices and n(n-1)/2 edges. Which of the following is correct?
a. Adjancy matrix representation of G requires O(1) storage
b. Adjancy matrix representation of G requires O(n) storage
c. Adjancy matrix representation of G requires O(n^2) storage
d. Adjancy matrix representation of G requires O(nlogn) storage
Step by Step Solution
There are 3 Steps involved in it
1 Expert Approved Answer
Step: 1 Unlock
Question Has Been Solved by an Expert!
Get step-by-step solutions from verified subject matter experts
Step: 2 Unlock
Step: 3 Unlock
