Palindrome String

Given a string, determine if it is a palindrome, considering only alphanumeric characters and ignoring cases.


"A man, a plan, a canal: Panama" is a palindrome.

"race a car" is not a palindrome.

Return 0 / 1 ( 0 for false, 1 for true ) for this problem

Interview Code Editor
  • Solution Approach
  • Complete Solution
11051 successful submissions.
Click here to jump start your coding interview preparation