chengchengxu15 / CS-leaning

1 stars 1 forks source link

215. Kth Largest Element in an Array #55

Open chengchengxu15 opened 3 years ago

chengchengxu15 commented 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/

chengchengxu15 commented 3 years ago

https://leetcode-cn.com/problems/kth-largest-element-in-an-array/solution/215-shu-zu-zhong-de-di-kge-zui-da-yuan-s-rfvg/