Cognizant Interview Question

General coding & aptitude, General HR