Back to QuestionsPractice with This Question
Smallest Range Covering Elements from K Lists
75.7K views•Asked at Spotify•
Hard
Question Explain
You have $k$ lists of sorted integers. Find the smallest range that includes at least one number from each of the $k$ lists. Use a Min-Heap.
Start Trying This Question Simulation
Practice answering orally or with text to get instant AI feedback.