>_
find_kth_largest.kt
Kotlin 2.4
Not run yet

+ 6 hidden

Input
nums = [7, 2, 9, 4, 11]
k = 2
Expected
9

From largest to smallest the array is 11, 9, 7, 4, 2, and the 2nd value is 9.