Persistent Systems Interview Question

Quick sort algo with pseudo code.