Amazon Interview Question

merge k sorted lists using iterator