Cognizant interview question

Web API