What is the general idea and basecase for QuickSort?

What are the 3 pivot choices and what are their pros/cons?

What is the quickSort code for a random pivot (not including the partition code)

What is the partition code for quickSort?

What are the best and worst case run times for quickSort, how is their recursive formula and what is their close form?
