Learn
Practice
Interview
Resources
Newsletter
F
Toggle theme
0
F
0
Toggle menu
Animations
← Back to All Animations
Palindrome Linked List
Bookmark
Copy to Array
Reverse Half
Input
Palindrome (even)
Not Palindrome
Palindrome (odd)
Single Node
Custom
values
=
[1, 2, 2, 1]
1
2
2
1
head
1
2
2
1
head
1
2
2
1
head
1
2
2
1
head
1
2
2
1
head
1
2
2
1
head
1
2
2
1
left
right
1
2
2
1
left
right
1
2
2
1
left
right
1
2
2
1
left
right
1
2
2
1
algo
master
.
io
Step:
Start: check if the linked list is a palindrome
0 / 11
Input
Palindrome (even)
Not Palindrome
Palindrome (odd)
Single Node
Custom
values
=
[1, 2, 2, 1]
0 / 11
algo
master
.
io
Step:
Start: check if the linked list is a palindrome