Interview Coder drill
Interview Coder drill
Interview Coder drill
30:00
Given K sorted lists of integers (one per line), merge them into one sorted list and print the values space-separated.
Example 1
Input: lists = [[1,4,5],[1,3,4],[2,6]]
Output: 1 1 2 3 4 4 5 6
All lists merged and sorted
Constraints
Capture your plan, then rate how clearly you recalled it before submitting.