摘要:
题目: Implement regular expression matching with support for '.' and '*'. 思路:'.' 代表任意单字符,'*' 可以代表将前面的字符去掉,也可以代表是对前面字符(包括'.')的重复(数目无限)。例子: aa a //不匹配,很明显 阅读全文
posted @ 2016-10-28 20:28
一只笨笨鸟
阅读(235)
评论(0)
推荐(0)
摘要:
题目: Determine whether an integer is a palindrome. Do this without extra space. Some hints: Could negative integers be palindromes? (ie, -1) If you are 阅读全文
posted @ 2016-10-28 20:08
一只笨笨鸟
阅读(146)
评论(0)
推荐(0)
浙公网安备 33010602011771号