Search⌘ K
AI Features

DIY: Valid Palindrome

Learn to implement the isPalindrome function to check whether a string reads the same backward as forward. This lesson helps you develop skills in string manipulation and logical reasoning essential for coding interviews.

Problem statement

Write a function that takes a variable containing a string, and check whether it is a palindrome or not.

Input

...