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.
associative operation may not have an identity, think about (x,y) => x
Sure! Without this one, the code is more complicated than expected.
genius
It's more convenient that gives a special value "id" that op(id,t) = op(t,id) = t
The python's version of this Kata should be rewrite. The implementation of the Node class is not specified. what's more, the Node class is nearly meaningless and increases difficulty unnecessarily. It would be much better to change the way the graph is stored.
legendary
You win,bro!