Open chengchengxu15 opened 3 years ago
Given an integer array nums and an integer k, return the kth largest element in the array.
Note that it is the kth largest element in the sorted order, not the kth distinct element.
https://leetcode.com/problems/kth-largest-element-in-an-array/
https://leetcode-cn.com/problems/kth-largest-element-in-an-array/solution/215-shu-zu-zhong-de-di-kge-zui-da-yuan-s-rfvg/
Given an integer array nums and an integer k, return the kth largest element in the array.
Note that it is the kth largest element in the sorted order, not the kth distinct element.
https://leetcode.com/problems/kth-largest-element-in-an-array/