Cognizant interview question

In campus it is easy.