How to sove this question?
https://practice.geeksforgeeks.org/problems/length-of-longest-palindrome-in-linked-list/1
How to sove this question?
https://practice.geeksforgeeks.org/problems/length-of-longest-palindrome-in-linked-list/1
monika u can done it using stack like iterate the ll and put the element in stack
and match for top and top-1 element from the element u are pushing it into stack.
so by that u can get the ans
for cpde reply:)
Ok…
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.