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 Chapter 2: The Basics from Python Algorithms: Mastering Basic Algorithms in the Python Language, Second Edition by Magnus Lie Hetland Publisher: Apress Released: September 2015 Note If a problem can be mapped into the concept of graph, then can use graph algorithms to solve it efficiently. Share this highlight http://learning.oreilly.com/a/python-algorithms-mastering/8197583/ Twitter Facebook Google Plus Email Get Instant Access Now Start a Free Trial Have an account? Sign in.