Cognizant interview question

basic coadings