Last test case failed. I used only odd pointer and keep all odd numbers at starting and rest after that
1 test case failed
@piyush.bansal8158625 You need to pass head by reference to evenOdd function also.
If this resolves your doubt mark it as resolved.
One more thing, your out put need to maintain the order of input, which your code in not doing.
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.