Leetcode Array Sorting Javatpoint