Which of the following ways can be used to represent a graph?

Category: QuestionsWhich of the following ways can be used to represent a graph?
Editor">Editor Staff asked 4 weeks ago

Which of the following ways can be used to represent a graph?
 
(a) Adjacency List and Adjacency Matrix
 
(b) Incidence Matrix
 
(c) Adjacency List, Adjacency Matrix as well as Incidence Matrix
 
(d) No way to represent
 
My question is taken from Graph in portion Graph of Data Structures & Algorithms I
 
I have been asked this question in semester exam.

1 Answers
Editor">Editor Staff answered 4 weeks ago

The correct choice is (c) Adjacency List, Adjacency Matrix as well as Incidence Matrix
 
The best I can explain: Adjacency Matrix, Adjacency List and Incidence Matrix are used to represent a graph.