Leetcode Subsets Time Complexity Of Sorting An Array