Wipro Interview Question

Asked about Puzzle.