Domanda di colloquio di Cognizant

some basic programming and logical questions