Which of the following data structures is more suitable for graph representation in Floyd Warshall Algorithm?

Which of the following data structures is more suitable for graph representation in Floyd Warshall Algorithm?

  1. a) Adjacency Matrix
  2. b) Adjacency List
  3. c) Incidence Matrix
  4. d) Incidence List

From the Combined Bank Assistant Programmer (CSE) March 2021 – Preliminary exam, question 5 of 86.

More from this paper