this is the code …
Palindrome test case error
@Vivek-Pandey-2129725577345937 don’t take your input as string take it in integer format,otherwise it will fail in case of elements with more than 1 digit. and you have to print true and false in lowercase.
i modified it. but it’s false for everytestcase
@Vivek-Pandey-2129725577345937
you have take while(n–) and inside that you have taken a for loop upto size n too correct it.
print answers in lowercase.
your logic of multiplying values by 10 will fail in case of more that 1 digit number. change your logic too.
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.