Mouthshut.com Interview Question

logic puzzles