The time complexity to calculate the number of edges in a graph whose information in stored in form of an adjacency matrix is ____________

The time complexity to calculate the number of edges in a graph whose information in stored in form of an adjacency matrix is ____________
A. O(V)
B. O(E$^{2}$)
C. O(E)
D. O(V$^{2}$)
 

Tìm kiếm

Back
Top