In this lesson, you will solve the challenge of merging a number of sorted subarrays (an essential part of merge sort).
Merge k sorted arrays
Suppose there exists a k
number of arrays (always a positive integer), each containing a fixed number of elements = n
. Each individual array is sorted, and we want to merge all of the ...