Quick Sort Question Leetcode Problems Sql