AMCAT Automata Fix Sample Question-7

Program-7

Binary Search Tree

Count the number of nodes in the BST that lie in the given range. In The existing function.

The values smaller than root go to the left side

The values greater and equal to the root go to the right side