Tinder Interview Questions
Showing 2 questions
Design a class to find the kth largest element in a stream of numbers. You'll need to efficiently update and retrieve the kth largest value as new numbers are added.
#1. Kth Largest Element in a Stream
Design a data structure that efficiently finds the median of a dynamically growing stream of numbers. You need to implement methods to add new numbers and quickly retrieve the current median.
#2. Find Median from Data Stream