Domanda di colloquio di IBM

Complete code problems that they give you