Amazon interview question

Merge K sorted list - leetcode