XYZ Pvt LTD Interview Question

How to do quick sort