Vyapar Interview Question

quick sort, rotate a matrix.