sir i am solving a question https://www.hackerrank.com/challenges/is-binary-search-tree/problem
please tell how to check with only root node
How to check if we have to use only root node
Hi @pankajsingh , you can make another function which takes root ,minimum value and maximum value as argument and call that function through your given function
refer this
In case of any doubt feel free to ask 
If you got the answer mark your doubt as resolved
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.