This question evaluates understanding of data structures and streaming algorithms for maintaining k-th order statistics under dynamic inserts, emphasizing time-space trade-offs and correct handling of duplicates.
Design and implement a class KthLargest that, given an integer k and an initial list of integers, supports: (