Kth largest element
Difficulty: Medium
Acceptance: %
Points: 30.00
Given an array arr[] and a number k. The task is to find the kth largest element in the array.
Expected Time Complexity: O(n log k)
Expected Auxiliary Space: O(k)
Constraints: - 1 <= k <= arr.size<= 10^6
- -106 <= k <= arr.size<= 10^6
Companies: Visa Google Oracle
Please log in to access the Submissions tab, where you can review your progress and explore code submissions from other participants.
Please log in to access the Solution tab and view detailed answers and explanations.
Please log in to access the Discussion tab and join conversations with other participants.