Cognizant interview question

Questions are not so tough