Cognizant Interview Question

puzzle