ZS Associates interview question

Basic quiz, riddles and puzzles