What is problem in this solution plz help

while loop in function named palindrome is not working correctly and i am not able to figure out why please help me with this.
code:---->https://ide.codingblocks.com/s/671645

hi @yamangoyal100_ff74db54bdf01539, after reversing front is at the end of the list
check this


refer https://www.geeksforgeeks.org/function-to-check-if-a-singly-linked-list-is-palindrome/

thanks sir i corrected it…

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.