Pregunta de entrevista de IBM

Technical question is pretty basic.