nference interview question

Merge k sorted arrays .