connor11528 / cs-fundamentals

🎓 Data structures and algorithms
https://www.employbl.com/
1.12k stars 232 forks source link

Missing file insertionSort.js #2

Closed AdityaPai2398 closed 6 years ago

AdityaPai2398 commented 6 years ago

https://github.com/connor11528/coding-interviews/blob/master/practice/algorithms/insertionSort.js

connor11528 commented 6 years ago

Oh that's because it's way less efficient so don't worry about ever having to implement it. I'll delete the file at some point or you're welcome to submit a PR

Insertion sort is a simple sorting algorithm that builds the final sorted array (or list) one item at a time. It is much less efficient on large lists than more advanced algorithms such as quicksort, heapsort, or merge sort.