Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Implement insertion sort #16

Open
5 tasks
mwermelinger opened this issue Jan 7, 2024 · 0 comments
Open
5 tasks

Implement insertion sort #16

mwermelinger opened this issue Jan 7, 2024 · 0 comments
Labels
effort: low These issues require the least work good first issue Good for newcomers priority: high type: enhancement Improve an existing feature
Milestone

Comments

@mwermelinger
Copy link
Member

In file sorting.py:

  • Write a function insertion_sort. You may copy the code in Section 14.3 of the M269 book and remove the key function parameter.
  • Write a docstring similar to the one for tim_sort.
  • Add the function to __all__.

In file test_sorting.py:

  • Add the function to the import statement.
  • Add the function to fixture sort_function.
@mwermelinger mwermelinger added effort: low These issues require the least work priority: high type: enhancement Improve an existing feature good first issue Good for newcomers labels Jan 7, 2024
@mwermelinger mwermelinger added this to the Version 0.2 milestone Jan 31, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
effort: low These issues require the least work good first issue Good for newcomers priority: high type: enhancement Improve an existing feature
Projects
None yet
Development

No branches or pull requests

1 participant