ByteDance interview question

coding question: Merge k sorted arrays