You are given an integer array nums and an integer k. Return the kth largest element in the array.
For the kth largest element problem, each test case consists of two lines: a list of integers and the integer k.
You are given an integer array nums and an integer k. Return the kth largest element in the array.
For the kth largest element problem, each test case consists of two lines: a list of integers and the integer k.
Sample Input 1:
3 2 1 5 6 4
2Sample Output 1:
5Create a free account to access the full topic