Getting correct answer still its showing wrong answer what is wrong in my code?
Print keys in given range BST
you need to print output of each test case in separate line.
so add cout<<"\n" in the last of while loop,
Getting correct answer still its showing wrong answer what is wrong in my code?
you need to print output of each test case in separate line.
so add cout<<"\n" in the last of while loop,