Meta interview question

Merge K sorted lists into a single array.