You are given a list of k linked lists.
Your task is to merge all the linked lists into one single sorted linked list.
You may assume that:
Return the head of the merged sorted linked list.
[ 1 → 4 → null, 2 → 3 → null ]
1 → 2 → 3 → 4 → null
Merging two sorted lists results in a sorted linked list
[ 1 → 3 → null, 2 → 5 → 5 → null, 4 → null ]
1 → 2 → 3 → 4 → 5 → 5 → null
Merging multiple sorted lists results in a sorted linked list
[ 1 → 5 → null, None, 2 → 4 → null ]
1 → 2 → 4 → 5 → null
Merging empty lists with sorted lists results in a sorted list
[ 1 → 4 → null, 2 → 3 → null ]
1 → 2 → 3 → 4 → null