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.
Loop through the tree, comparing each node to the sum of its children. When you find a mismatch, you have to figure out which is the wrong value. This can be done by considering different cases. For example, is either of the children not equal to the sum of its children?
Hey guys can you give me some hints on how to solve this problem
This comment is hidden because it contains spoiler information about the solution