You have k lists of sorted integers. Find the smallest range that includes at least one number from each of the k lists.
Initialize heap with first elements. Range: [0, 5]
4
10
15
24
26
0
9
12
20
5
18
22
30
[0, 5]