Fundamentals of Algorithms

Question #29

Read the question, compare the options, and review the correct answer below.

CS502 · Final-term only#29

What is generally true of Adjacency List and Adjacency Matrix representations of graphs?

  1. A
    ? Lists require less space than matrices but take longer to find the weight of an edge (v1,v2)
  2. B
    ? Lists require less space than matrices and they are faster to find the weight of an edge (v1,v2)
  3. C
    ? Lists require more space than matrices and they take longer to find the weight of an edge (v1,v2)
  4. D
    ? Lists require more space than matrices but are faster to find the weight of an edge (v1,v2)
Show correct answer

Correct answer: A. ? Lists require less space than matrices but take longer to find the weight of an edge (v1,v2)

Check community answers against your course notes.
← More practice questionsTake a timed test