Amazon Interview Question

For coding, they asked to merge k sorted queues