Palindrome Linked List
Given the head of a singly linked list, return true if it is a palindrome or false otherwise.
Palindrome Linked List

Given the head of a singly linked list, return true if it is a palindrome or false otherwise.

Example 1:
Input: [1,2,2,1]
Output: true
Input
arr =[1,2,2,1]
slowfast

1

2

2

1

Find middle with slow/fast pointers

Variables
VariableValue
slow0
fast0
DepthFunction Call
Stack empty
0/6