Smallest Range Covering Elements from K Lists
Hard📝 Description
Find smallest range that includes at least one number from each of k lists
Input Format
List of k sorted integer lists
Output Format
Smallest range [start, end]
Constraints
nums.length == k
🔍 Sample Input
[[4,10,15,24,26],[0,9,12,20],[5,18,22,30]]
✅ Sample Output
[20,24]
Code Editor
Please login to run and submit code.
Results
Suggested Solution
Shortcuts: Ctrl+Enter to submit, Ctrl+Shift+R to run