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 graph adj_weights comment #228

Closed Laharah closed 6 years ago

Laharah commented 6 years ago

In the graph implementation challenge, there is a comment that incorrectly states the key for the weight dictionary should be a node instead of a key. It's correct however in the solution notebook. This PR just corrects the comment so users don't get confused and implement the wrong thing (as I did).

donnemartin commented 6 years ago

@Laharah thank you!