Xoriant Interview Question

A question based on quicksort