Pregunta de entrevista de SUNRISE FUTURES

merge two sorted arrays basic probability question