TransMarket Group interview question

basic probability