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.
This comment is hidden because it contains spoiler information about the solution
@nklein : nice kata!
I'd like to elaborate a little bit about tree optimization:
I was hoping all the way that it would be based on if( a and b are numbers) and it is so.
Now after solving I am a little disappointed, because we could optimize the tree much better, e.g.: 1 + 3 * x + 4 + x * 5 = 5 + 8 * x, do you see what i mean?
For now, I am not even sure that any solution would optimize 1 + 3 * x + 3 to 4 + 3 * x