Python: Merge insertion sort doesn't work

>>> merge_insertion_sort([0, 1, 2, 3, 4])
[0, 2, 1, 3, 4]

Cc @ulwlu #2211 sorts/merge_insertion_sort.py

About this issue

  • Original URL
  • State: closed
  • Created 3 years ago
  • Comments: 19 (16 by maintainers)

Commits related to this issue

Most upvoted comments

@AilisOsswald Issues aren’t really assigned here, anybody can work on them. You just have to open a PR with the changes that you plan to make. The maintainers will review it and merge it if it looks good 😃

Hello, I’d like to take up this Issue with a fellow student of mine. (@yellowsto) We would like to take a look at Merge Insertion Sort to fix it and write Test Cases for at least that Sort, as suggested above.

We are both new to Open Source, but happy to learn! (so far we’ve read your contribution guidelines and some short tutorials how to work with github)

Could we get this Issue assigned?

>>> all(a == e for a, e in zip(actual, expected))
True