LeetCode125. Valid Palindrome

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

For example,
"A man, a plan, a canal: Panama" is a palindrome.
"race a car" is not a palindrome.

判断字符串是否是回文字符串,字符串中除了数字字符和字母之外,其他字符不计,大写字母和小写字母视为同种字符。

头尾两边对比判断就行了。空字符串视为合法回文串。


Day12. Valid Palindrome

相关文章:

  • 2021-10-19
  • 2021-08-25
  • 2022-01-30
  • 2021-09-27
  • 2021-10-03
  • 2021-09-14
  • 2021-06-20
  • 2021-08-06
猜你喜欢
  • 2021-12-28
  • 2022-01-01
  • 2021-12-04
  • 2022-03-04
相关资源
相似解决方案