decorus-kazuma / blog.decorus.io

💁‍♂️ decorus-kazuma blog.
https://blog.decorus.io
MIT License
0 stars 0 forks source link

algorithm/leetcode/2024/01/09/leetcode-215-kth-largest-element-in-an-array #10

Open utterances-bot opened 6 months ago

utterances-bot commented 6 months ago

Leetcode - 215.Kth Largest Element in an Array

Given an integer array nums and an integer k, return the kth largest element in the array.

https://blog.decorus.io/algorithm/leetcode/2024/01/09/leetcode-215-kth-largest-element-in-an-array.html

decorus-kazuma commented 6 months ago

SC O(n)