donnemartin / interactive-coding-challenges

120+ interactive Python coding interview challenges (algorithms and data structures). Includes Anki flashcards.
Other
29.44k stars 4.45k forks source link

Fix compilation error in graph_challenge notebook #172

Closed gmazzola closed 7 years ago

gmazzola commented 7 years ago

The graph.py source code contains correct definitions for the __repr__ and __lt__ functions, but the graph_challenge IPythonNotebook contains an older definition of those functions that doesn't compile.

Thanks for writing these interactive coding challenges -- they're really awesome! :)

donnemartin commented 7 years ago

@gmazzola thank you!