Pergunta de entrevista da empresa Tuenti

Write a code, which represents the Iterator pattern!