Answers for "check if a number is palindrome or not gfg practice"

C++
-1

check if palindrome

function isPalindrome(str) {
  str = str.toLowerCase();
  return str === str.split("").reverse().join("");
}
Posted by: Guest on August-17-2020

Code answers related to "check if a number is palindrome or not gfg practice"

Browse Popular Code Answers by Language