Pergunta de entrevista da empresa Findem

merging two sorted arrays and graph question I didn't remember.