Which of the following is an advantage of matrices?

Daniel William

New member
Which of the following is an advantage of matrices?
A. Internal complexity
B. Searching through a matrix is complex
C. Not space efficient
D. Graph Plotting
 
Answer: D
Explanation: Adjacency and Incidence Matrices are used to store vertices and edges of a graph. It is an advantage to plot graphs easily using matrices. But Time complexity of a matrix is O(n$^{2}$) and sometimes the internal organization becomes tedious. They are all disadvantages of matrices.
 

Tìm kiếm

Back
Top