Cognizant interview question

Knowledge in coding