Amazon Interview Question

The question was - Merge K sorted Lists (question number 23 in leetcode).