O'Reilly logo
  • You Wang thinks this is interesting:

While phrasing your problem in graph terminology gets you far, if you want to implement a solution, you need to represent the graphs as data structures somehow.

From

Cover of Python Algorithms: Mastering Basic Algorithms in the Python Language, Second Edition

Note

If a problem can be mapped into the concept of graph, then can use graph algorithms to solve it efficiently.