AlreadyBored/basic-js-ds

Incorrect binary search tree picture

stardustmeg opened this issue · 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.
image

Here's the picture for replacement
image

Corresponding PR merged