Pregunta de entrevista de IBM

Basic coding problems. Lists, Arrays and UNIX Commands.