Several arrays are each sorted. Return the k smallest values across all of them — without merging everything first.
Several arrays are each sorted. Return the k smallest values across all of them — without merging everything first.
Opens with the full question.