stardustmeg opened this issue a year ago · 1 comments
According to the structure of a Binary search tree the right node is supposed to have a greater value than the parent one, so in this case the node must have a value greater than 5.
Here's the picture for replacement
Corresponding PR merged