Kth Largest Element

思路:
find kth smallest 马甲,直接找nums.length - k + 1 小的。

评论

此博客中的热门博文

776. Split BST

515. Find Largest Value in Each Tree Row

27. Remove Element