Cognizant interview question

No so difficult