215. Kth Largest Element in an Array

Return the kth largest element in nums, using a min-heap of size k.

Patterns: heap. Difficulty: medium.

Open in Dryrun