摘要: 去年就在某牛人的博客上见到了,现在准备去玩玩。做题的方式跟Topcoder类似,刚刚去水了一题"Valid Palindrome" 1 class Solution { 2 public: 3 bool isPalindrome(string s) { 4 // Start typing your C/C++ solution below 5 // DO NOT write int main() function 6 string alnumstr; 7 transform(s.begin(), s.end(), s.... 阅读全文
posted @ 2013-03-08 18:26 strorehouse 阅读(936) 评论(0) 推荐(0) 编辑