AlgoMaster Logo

Smallest Range Covering Elements from K Lists

nums=[4,10,15,24,26], [0,9,12,20], [5,18,22,30]
0 / 30
L0410152426L1091220L25182230Heap:[]Current Max:-Current Range:-Best Range:-
algomaster.io
Step:Find the smallest range that includes at least one number from each of the k lists