m2skills

isPalindrome LL OUTPUT

Jan 28th, 2018
402
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.32 KB | None | 0 0
  1. Program to check if a Linked List is Palindrome or not
  2. Linked list is :
  3. 1 --> 3 --> 5 --> 7 --> 7 --> 7 --> 5 --> 3 --> 1
  4. The given Linked List is Palindrome
  5.  
  6. Program to check if a Linked List is Palindrome or not
  7. Linked list is :
  8. 1 --> 3 --> 5 --> 7 --> 7 --> 8 --> 5 --> 3 --> 1
  9. The given Linked List is not a Palindrome
Add Comment
Please, Sign In to add comment