SUNRISE FUTURES interview question

merge two sorted arrays basic probability question