Which Sorting Algorithm Is Best?


There are tons of sorting algorithms. Which one is best? When should you use a particular sorting algorithm?

What if you were asked in an interview what sorting algorithm would be best if you had the user data for 20 million names that need to be sorted.

Let’s go over some rules… Such as when to use insertion sort.