Quick Sort Leetcode Problems Sql Interview Query