Cognizant Interview Question

General programming questions are asked . 2 aptitude puzzles are given and one conditional question at last.