2015年6月8日
摘要: 注:此分类仅供大概参考,没有精雕细琢。有不同意见欢迎评论~利用堆栈:http://oj.leetcode.com/problems/evaluate-reverse-polish-notation/http://oj.leetcode.com/problems/longest-valid-paren... 阅读全文
posted @ 2015-06-08 00:58 gone~with~wind 阅读(142) 评论(0) 推荐(0)
摘要: Given an input string, reverse the string word by word.For example,Given s = "the sky is blue",return "blue is sky the".Update (2015-02-12):For C prog... 阅读全文
posted @ 2015-06-08 00:51 gone~with~wind 阅读(113) 评论(0) 推荐(0)
摘要: Given a stringSand a stringT, count the number of distinct subsequences ofTinS.A subsequence of a string is a new string which is formed from the orig... 阅读全文
posted @ 2015-06-08 00:21 gone~with~wind 阅读(118) 评论(0) 推荐(0)