Loading collection data...
Collections are a way for you to organize kata so that you can create your own training routines. Every collection you create is public and automatically sharable with other warriors. After you have added a few kata to a collection you and others can train on the kata contained within the collection.
Get started now by creating a new collection.
It just looks fancy but may get a problem with maximum recursion depth pretty soon.
recursion works well for this problem
Mh, you make a good point here: I opted to follow the author and to consider the same exact word as an edge case of an anagram, but I see your point. I added that to the description, thanks!
Not sure about about how the defaultdict structure exactly works, but your code is a bit of an overkill for the task: try something much, MUCH simpler.
My tests pass, but stuff fails on submission :C
Can't really see the reason why.
Alright, figured out (RTFD, heh).
Spec should better describe requirements (i.e., no punctuation + includes digits)