Check if a linked list is palindrome

Write a function to check if a Singly linked list is a palindrome or not. For example, the linked list 2 -> 3 -> 4 […]

Check if a number is a palindrome

Given an integer, write code to check if it is a palindrome or not. For example: 24342 is a palindrome but 32767 is not a […]