Linked list palindrome

what’s wrong in my code