Tech Mahindra Interview Question

puzzles,analytical