Intel Corporation Interview Question

write a function that checks if the received string is a palindrome

Interview Answer

Anonymous

May 19, 2022

Leetcode: Is a palidrome question Solution in Python 3: newString = "" for c in s: if c.isalnum(): newString += c.lower() return newString == newString[::-1]