2015年8月16日

Regular Expression Matching

摘要: Implement regular expression matching with support for'.'and'*'.'.' Matches any single character.'*' Matches zero or more of the preceding element.The... 阅读全文

posted @ 2015-08-16 16:26 绿树荫 阅读(121) 评论(0) 推荐(0)

Palindrome Number

摘要: Determine whether an integer is a palindrome. Do this without extra space.思路:将原数字从各位数字开始拆分成两部分,最终比较两个数字的大小即可。public boolean isPalindromeII(int x) { ... 阅读全文

posted @ 2015-08-16 11:49 绿树荫 阅读(198) 评论(0) 推荐(0)

String to Integer (atoi)

摘要: Implementatoito convert a string to an integer.Hint:Carefully consider all possible input cases. If you want a challenge, please do not see below and ... 阅读全文

posted @ 2015-08-16 11:35 绿树荫 阅读(200) 评论(0) 推荐(0)

导航