Checking for BST

In top down approach we are setting a range for every node.So in given example in video
5
3 8
1 7 10
4
in this tree sir has written that range of leftmost node ie,. 1 can be (-infinty,5) shoudlnt it be (-infinity,3)?

hi @aryamaan1011
yes you are right

it should be -infinity to 3

I hope I’ve cleared your doubt. I ask you to please rate your experience here
Your feedback is very important. It helps us improve our platform and hence provide you
the learning experience you deserve.

On the off chance, you still have some questions or not find the answers satisfactory, you may reopen
the doubt.