Tree Right Bigger
[email protected] // 1.0 // type-checkable
Write a function called tree_right_bigger
that takes a binarytree.BinaryTree
of int
s and returns
the number of nodes in the tree that have both a left
and a right
child where the right's value
is larger than the left's.