Print bst in the given range

testcase is failing

what’s wrong?

@Vivek-Pandey-2129725577345937 it is running fine, give correct input. (the range [6, 5] does not make sense, as the lower bound should come first)

Please mark the doubt as resolved in case of no further queries.

Yeah it’s running f9 but it’s not getting accepted and it was by mistake 6 5

@Vivek-Pandey-2129725577345937 You are supposed to make a BInary Search Tree, but you made a binary tree. Change your build function.