Toppr.com Interview Question

basic puzzles