If it was fixed, then I'd close the issue.
the problem comes from your code, you are not setting the tree_size to 0 for an empty tree
tree_size
0
Please use appropriate formatting when posting code. See https://docs.codewars.com/training/troubleshooting#post-discourse.
The random test is broken [...]
Your solution is broken, not a kata issue. See https://docs.codewars.com/training/troubleshooting/#test-attempt.
This comment is hidden because it contains spoiler information about the solution
Loading collection data...
If it was fixed, then I'd close the issue.
the problem comes from your code, you are not setting the
tree_size
to0
for an empty treePlease use appropriate formatting when posting code. See https://docs.codewars.com/training/troubleshooting#post-discourse.
Your solution is broken, not a kata issue. See https://docs.codewars.com/training/troubleshooting/#test-attempt.
This comment is hidden because it contains spoiler information about the solution
This comment is hidden because it contains spoiler information about the solution