Pergunta de entrevista da empresa IBM

Normal problem solving and basic programming.