I wrote in python a class for Binary Search Tree
my intent is writing a code that allows me to pass from this input:
3 / 10 9 / 1 88
to this output:
111 / 99 9 / 1 88
As you can see, each node's data is the sum of the integers of its subtree
What can I do?
1.4m articles
1.4m replys
5 comments
57.0k users