Pergunta de entrevista da empresa IBM

Basic coding problems. Lists, Arrays and UNIX Commands.