the problem is find the range of numbers in the BST
Please check the code i am it do not passes the tastcases
Hi @dkroy8790, the problem is with how you’re making the BST from given integers, the given order in the test case is not the preorder of the binary search tree,(tho it should be mentioned in the question). I’ve modified your code, you can have a look, Hope this helps
.