Cognizant interview question

puzzle