AKUNA CAPITAL interview question

Mental Math, Coding and betting game.