HardScenarioData structures and algorithms
How would you find the k largest items in a huge stream?
This answer is part of Pro
14 of 198 Python Developer answers are free. A Pro pass opens the rest, including hands-on task steps.
PreviousHow would you implement an LRU cache?Next How do you find the longest substring without repeating characters?