Domanda di colloquio di IBM

Previous experience, regular algorithm questions.