Problem 703 · Easy
Keep only the k largest values; the smallest of them is the kth largest.
Open the interactive visualisation