Cognizant interview question

Myself