
leetcode
Lei2015_
这个作者很懒,什么都没留下…
展开
专栏收录文章
- 默认排序
- 最新发布
- 最早发布
- 最多阅读
- 最少阅读
-
leetcode 模拟内存LRU
LRU,最近最少使用的内存单元。原创 2014-04-05 23:55:27 · 723 阅读 · 0 评论 -
Construct Binary Tree from Preorder and Inorder Traversal
常见的根据前序遍历和中序遍历构造erchanshu原创 2014-07-10 10:58:51 · 568 阅读 · 0 评论 -
leet code Binary Tree Zigzag Level Order Traversal
对于一颗二叉树,先从左wangy原创 2014-07-09 02:01:10 · 503 阅读 · 0 评论 -
leetcode Remove Nth Node From End of List
只遍历一遍的做法。原创 2014-04-06 10:47:34 · 480 阅读 · 0 评论 -
leetcode Word Break 字典树+dp
#include struct node { bool flag; node *next[26]; node() { flag=0; memset(next,0,sizeof(next)); } }; int dp[1000000]; class Solution { public: node *root;原创 2014-04-06 11:06:55 · 810 阅读 · 0 评论