XYZ Pvt LTD interview question

How to do quick sort