InterviewSolution
Saved Bookmarks
| 1. |
The number of elements in the adjacency matrix of a graph having 7 vertices is __________(a) 7(b) 14(c) 36(d) 49Origin of the question is Adjacency Matrix in portion Graph of Data Structures & Algorithms II have been asked this question during a job interview. |
|
Answer» CORRECT option is (d) 49 To explain: There are N*n elements in the ADJACENCY MATRIX of a GRAPH with n vertices. |
|