Cognizant interview question

Technical questions and some case study