Palindrome In Doubly Linked List Leetcode