Pergunta de entrevista da empresa Amplify

Combine two sorted arrays into a single sorted array