Arrange elements in a Linked List such that all even numbers are placed after odd numbers.
https://ide.codingblocks.com/s/57557
One testcase having run error
Hi Vishesh, consider the cases where the input consists either of all odd or all even elements.
Ex: 5
1 3 5 7 9
or
5
2 4 6 8 10
Your code is not working for these cases.