Cognizant interview question

technical and few programs