Check if Linked List is Palindrome
Shubham2816 opened this issue · 1 comments
Shubham2816 commented
Given a singly linked list of size N of integers. The task is to check if the given linked list is palindrome or not.
N = 3
value[] = {1,2,1}
Output: 1
Explanation: The given linked list is
1 2 1 , which is a palindrome and
Hence, the output is 1.
abhaygupta08 commented
PR accepted