It is giving one tet case wrong i don’t know the error
Even odd problem
the logic will not ensure relative ordering.
follow this ->
a) make odd list by iterating start to end of the given list
b) make even list by iterating start to end of the given list
c) add even list in the end of odd list and make head of odd list as new head