Pergunta de entrevista da empresa IBM

Basics in Java and some from python