How to choose pivot in quicksort
Anonymous
In simple quicksort you use the first element as the pivot. In randomized quicksort, you pick an element at random and swap it to the beinning of the array.
Check out your Company Bowl for anonymous work chats.