K-way merge [mp]
Micro pattern¶
Description¶
Maintain one current candidate per sorted source and replace it from the same source after consumption.
Problems¶
- 23. Merge k Sorted Lists (Top Hard)
Maintain one current candidate per sorted source and replace it from the same source after consumption.