Print BST keys in the given range wrong ans

My Code : https://ide.codingblocks.com/s/59024
Question :


I am getting correct ans for sample input and wrong ans on submission pls. guide

@shubham_joshi you running your code for multiple test case . so write code cout<<endl;
https://ide.codingblocks.com/s/59030

1 Like