从今天开始做esl得笔记,hexo上传html比较麻烦,直接发在rpubs.org好了,妈个鸡,上传真得很慢。。。
用chrome打开链接
Home | Archives | Categories | Tags | About |
|
- edit distance: DP
- generate paranthes: Iterative Recursive
- integer to english words: Unit(every 3) Recurvise
- interleaving string: Iterative Recusive/DP
- longest valid parenthes: Stack存分界符 (注意’)’pop分情况)
- minimum window substring: 双指针法。1,找到满足子串;2,移动start使之成为最短
- palindrom pairs: 分3种情况回文, O(n)空间换时间从O($n^2$)为O(n)
- shortest palindrom: 找到最长回文子串即可
- regular expression matching: DP
- wilcard matching: DP
- valid number: regexp/NFS
- scramble string: Substring Recursive
- word ladder II: 构建非重复前向路径
Welcome to Hexo! This is your very first post. Check documentation for more info. If you get any problems when using Hexo, you can find the answer in troubleshooting or you can ask me on GitHub.
|
|
More info: Writing
|
|
More info: Server
|
|
More info: Generating
|
|
More info: Deployment