Pregunta de entrevista de SAIC

To answer a couple coding problems and my experience