AlgoMaster Logo

Merge k Sorted Lists

lists=[[1,4,5],[1,3,4],[2,6]]
0 / 19
algomaster.io
Step:Collect every value, sort them, then rebuild one list