Genting Interview Question

Mathematical Question