whats wrong here
Linked list palindrome
hello @mohitsharmakosi2001
a) u r returning true if first node data matches ,which is wrong
u need to compare all nodes and if any node data doesnt match then return true
b) ++ operator will not give address of next node,
use s=s->next
still segmentation fault
pls check ur code link once
sorry my mistake
check this link
check now
I hope I’ve cleared your doubt. I ask you to please rate your experience here
Your feedback is very important. It helps us improve our platform and hence provide you
the learning experience you deserve.
On the off chance, you still have some questions or not find the answers satisfactory, you may reopen
the doubt.