TEST CASES NOT PASSING KINDLY UPDATE TH E CODE

PLEASE SEND ASAP

hey, the mistake is that u need to print the nodes in sorted order
and u did not handle the case for no nodes
store the nodes in a vector instead of printing them

Hey i understood and did what u told but now test case 1 is showing RUN ERROR and test case 0,2,3 passed…kindly check https://ide.codingblocks.com/s/226683

as i can see, ur code still does not check for zero nodes case
plus it is very difficult to read ur code with such unclear variables and so many unnecessary functions
u can refer to this code: https://ide.codingblocks.com/s/226096
for reference

HELLO SIR WD UR CODE ONLY 1 TEST CASE IS PASSING…THIS IS THIRD TIME I M WRITING U PLEASE FIRST CHK AND THN SEND THE CODE

https://ide.codingblocks.com/s/226962…EDIT MY CODE


this code gets submitted, i have checked, the previous one also did, must be some difference hackerblocks ide during that timeframe
nonetheless, the error was for handling zero nodes case