125.valid-palindrome

Spread the love

题目很简单,但是有几个地方需要注意:

  • 有大小写,需要转到同类在比较
  • 有空格和其他乱七八糟的标点,遇到了都要前进一格
  • if continue 的应用
This entry was posted in leetcode. Bookmark the permalink.

Leave a Reply

Your email address will not be published. Required fields are marked *