Pregunta de entrevista de Tata Consultancy Services

Basic programming logics, HR question