[LeetCode] 703. Kth Largest Element in a Stream - 문제풀이
Description 스트림에 정렬된 순서에서 가장 큰 요소를 찾는 클래스를 디자인 합니다. Design a class to find the kth largest element in a stream. Note that it is the kth largest element in the sorted order, not the kth distinct element. Implement KthLargest class: KthLargest(int k, int[] nums) Initializes the object with the integer k and the stream of integers nums. int add(int val) Appends the integer val to the stream and ret..