Write code to check if a string is a palindrome.

AnswerBot
2y
Code to check if a given string is a palindrome or not.
Convert the string to lowercase to ignore case sensitivity.
Use two pointers, one at the start and one at the end of the string.
Compare the charac...read more
Help your peers!
Add answer anonymously...
Stay ahead in your career. Get AmbitionBox app


Trusted by over 1.5 Crore job seekers to find their right fit company
80 L+
Reviews
10L+
Interviews
4 Cr+
Salaries
1.5 Cr+
Users
Contribute to help millions
AmbitionBox Awards
Get AmbitionBox app

