Cognizant interview question

basic technical