Merge k sorted linked lists into one sorted linked list and return it.
k
Input
Output: the merged list's values, space-separated.
3 1 4 5 1 3 4 2 6
1 1 2 3 4 4 5 6
1
Run your code against the sample tests, or Submit to run the full suite.