Meta interview question

Merging k sorted arrays - leetcode hard