Cognizant Interview Question

The interview consisted of standard Java questions along with a few logic problems.