Skip to content

Instantly share code, notes, and snippets.

@robbielane
Forked from stevekinney/gist:9e9cfeb225c8133fda73
Last active February 7, 2016 17:42
Show Gist options
  • Save robbielane/231fc41c337afc98a271 to your computer and use it in GitHub Desktop.
Save robbielane/231fc41c337afc98a271 to your computer and use it in GitHub Desktop.
**Step One**: Watch [Sorting Algorithms in JavaScript](https://www.youtube.com/watch?v=uRyqlhjXYQI)
**Step Two**: Fork this gist.
**Step Three**: Respond to this question in your fork: "What are some of the balances and trade offs between different sorting algoritms?"
- insertion sort take very few lines of code to implement and is stable.
- bubble sort shouldn't be used. It uses unnecessary operations.
- merge sort is fast and stable, though it requires more lines of code.
**Step Four**: _Totally Optional_: take a look at some of the other forks and comment if the spirit moves you.
@rrgayhart
Copy link

👍

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment