This one took me about 5 minutes to solve. And at the same time, I was struggling with some "easy" problems for half an hour.
What is so hard about this one? It doesn't require any fancy algorithms or data structures. It only requires basic understanding of the language and the very concept of iterators.