Open jzhangnu opened 7 years ago
var findKthLargest = function(nums, k) { nums = nums.sort(function(a,b){ return a - b }) console.log(nums) return nums[nums.length - k] };