My code is giving TestCase 3 and 4 right

The other 2 test cases are wrong.
In the palindrome list problem

@rajarshib03 Please save your code on ide.codingblocks.com and share its link.

I solved it by myself.
Was doing a mistake taking the mistakes.