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

Rename SelectionSort to InsertionSort in insertion sort challenge #210

Closed ArchKudo closed 7 years ago

ArchKudo commented 7 years ago

The class was called SelectionSort instead of InsertionSort causing the tests to fail. FTFY!

donnemartin commented 7 years ago

@ArchKudo thank you!

ArchKudo commented 7 years ago

@donnemartin I'm glad if I was of some help! Quick question though, shouldn't the sort method have the staticmethod decorator? If you would like the change I could make another PR...