getting two passed and two wrong test cases.
what was the problem
Even After Odd Failed Test Case
@Pramod123 hey you have missed the test cases when any of the even or odd list is empty,also take care of the order as order of elements in odd and even linked list remain same.
@Pramod123 hey use this logic ,apka logic me order maintain nhi reh rha ,ap two separate linked list bnao by taking even head ,even tail and ||ly for odd and if element odd add to the odd linked list and if even than add to odd ,now atttach two linked list by taking care of NULL conditions.
ok…sir let me try…
thank u sir …it works fine and now my code becomes too short and efficient.
