Getting wrong answer in 1 Testcase only
EVEN AFTER ODD Linked Lists
Your code is not producing correct result for following test case :
7
1 2 4 3 8 5 6
Your output : 1 3 5 2 8 4 6
Expected output : 1 3 5 2 4 8 6
So How should I solve this?
Getting wrong answer in 1 Testcase only
Your code is not producing correct result for following test case :
7
1 2 4 3 8 5 6
Your output : 1 3 5 2 8 4 6
Expected output : 1 3 5 2 4 8 6
So How should I solve this?