Mobicip Interview Question

Logical puzzles from geeksforgeeks