AI Features

Solved Problem - Merge K Sorted Arrays

Problem statement

Given KK sorted arrays of length NN. Print the sorted set of NKN*K integers after merging the arrays.

Input format

The first line of input consists of two space-separated integers K(1K103) ...