Merge k-sorted arrays(input)

How to take k sorted arrays as input?

@nayakashutosh99 hey ashutosh nayak use 2d array to take input