![](https://img-blog.csdnimg.cn/20201014180756724.png?x-oss-process=image/resize,m_fixed,h_64,w_64)
leetcode
Lei2015_
这个作者很懒,什么都没留下…
展开
-
leetcode 模拟内存LRU
LRU,最近最少使用的内存单元。原创 2014-04-05 23:55:27 · 665 阅读 · 0 评论 -
Construct Binary Tree from Preorder and Inorder Traversal
常见的根据前序遍历和中序遍历构造erchanshu原创 2014-07-10 10:58:51 · 519 阅读 · 0 评论 -
leet code Binary Tree Zigzag Level Order Traversal
对于一颗二叉树,先从左wangy原创 2014-07-09 02:01:10 · 458 阅读 · 0 评论 -
leetcode Remove Nth Node From End of List
只遍历一遍的做法。原创 2014-04-06 10:47:34 · 433 阅读 · 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 · 754 阅读 · 0 评论