Cognizant Interview Question

Some common puzzles.