Palindrome liked list


2 testcases wrong?

@Vibhuti0206 Please dry run and recheck your logic for palindrome.
Consider a test case:
7
1 2 4 3 8 5 6

Your output:
True

Expected output:
False