LeetCode --- Valid Palindrome
摘要:
题目链接判断字符串是否为回文串。附上代码: 1 class Solution { 2 public: 3 bool isPalindrome(string s) { 4 if (s.empty()) return true; // consider empty string ... 阅读全文
posted @ 2014-05-29 21:54 Stomach_ache 阅读(132) 评论(0) 推荐(0)