Issues in BST to DLL problem test cases

There are issues in 3,4 and 5 test cases. Please resolve them.

Hi
Can you post your code?

Yes sure.

I unlocked the test cases. In some of the test cases, the list shown in result was not sorted.

Hey
So now that you know the test cases it’s not working upon, pick up a test case which works wrong for your code, dry run your code on it, and try to find the mistake in the logic, if you still don’t get it, tell here

I checked the output for the test cases. But the output given in them are wrong(for test cases:3,4,5).
For e.g. for test case#5 BST: [30,25,45,15,28,35,50,8,19,27,88]
Output for a sorted DLL would be: [8, 15, 19, 25, 27, 28, 30, 35, 45, 50, 88], which my code is also returning
But the output test case file is showing: [8, 15, 19, 25, 27, 28, 88, 30, 35, 45, 50]

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.