Pregunta de entrevista de AIRA MATRIX

Merge two sorted array upto a given number of elements for both the array