Palindrome Linkedlist
Given a singly linked list of Integers, determine it is a palindrome or not.Input Format
1->2->3->4->3->2->1->nullOutput Format
1->2->3->4->2->1->null
trueQuestion Video
false
0 <= N <= 10^6Sample Input
10Sample Output
5
1
4
6
9
9
6
4
1
5
true
-
Asked in Companies
-
Related Topics
Video Solution
Code Solution
{ }
{ }
Run