is it possible do with single linked list?
if not it should be mention in problem statement.
Palindrome whether to use single linked list or double linked list
Hi it is possible to do this problem using recursion when using a singly linked list. When nothing is mentioned it is safe to assume that the question means a singly linked list, not a doubly linked list.