"We don't need repeats" task is really cool, made me think how to implement nested for cycle (for cycle inside of other for cycle) for HashMap.
What's more, it didn't work when I tried to compare current ellement of one hasMap with the following elements of the same hashMap. So I had to compare elements of original with elements of copy. Only then it worked fine.
GO TO FULL VERSION