Bybit interview question

medium of 2 sorted array