Cognizant interview question

simple technical questions