UC San Diego interview question

Quicksort in c++ from scratch