Leetcode Subsets Time Complexity Of Sorting In Java