SUNRISE FUTURES Interview Question

merge two sorted arrays basic probability question