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.
Congrats!
I DID IT! Holy cow! That was hard... That felt really good hitting the test button for the 100th time and seeing all green. Wow..
Ok, why not [8,1] in {19, 9, 10, 4', 5, 4, 6, 3, 2'', 1, 4, 1, 3, 2, 4} 2=>1this is rigth leaf (summ=4 leaf:{3,2'} rigth=>1)
{29, 13, 16', 5, 8, 9, 1''} this 1=9 this is rigth leaf (summ=16 leaf:{9,1'}rigth=>7)
'This is because of the condition "if the incorrect value occurs on the leaf level, then the right child will always be the incorrect one." Since 9 + 1 != 16, the 1 must be changed to 7, rather than changing the 9 to 15.'
{19, 9, 10, 4, 5, 4, 6, 3, 2, 1, 4, 1, 3, 2, 4} answer - [3,5] incorect parents.
But!
{29, 13, 16, 5, 8, 9, 1} answer - [6.7] ! incorect leaf.
Absolutly equal case give different results?
I'm sorry, i'm not understand.
O_o
the picture confused me - the root is at the top and the leaves are at the bottom ...