Cognizant interview question

Easy