Cognizant Interview Question

Project, sensor working,