GrabOnRent interview question

Math Puzzles along with Probability