Description Given the head of a singly linked list, return true if it is a palindrome or false otherwise. Example1 Input : head = [1,2,2,1] Output : true Example2 Input : head = [1,2] Output : false Solution class Solution { public boolean isPalindrome(ListNode head) { ListNode slow = head, fast = head, prev, temp; while (fast != null && fast.next != null) { slow = slow.next; fast = fast.next.ne..