This is No.215 in Leetcode. The description: Find the kth largest element in an unsorted array. Note that it is the kth largest element in the sorted order, not the kth distinct element. My own solution is: class Solution { public int findKthLargest(int[] nums, int k) { // sort array first Arrays.sort(nums); // get the …