Data Structures
weixin_45470102
这个作者很懒,什么都没留下…
展开
专栏收录文章
- 默认排序
- 最新发布
- 最早发布
- 最多阅读
- 最少阅读
-
易错集
Array双array iteratewhile ...: if i >= m or arr[i] < arr[j]: // 这一步如果i < m但是j >= n, 第二个判断会out of bound ... else: ...原创 2019-08-13 00:35:52 · 127 阅读 · 0 评论 -
[Data Structure] DFS
好好看一下这个文档,对方是怎么define union find这个API的https://python-algorithms.readthedocs.io/en/stable/_modules/python_algorithms/basic/union_find.html原创 2019-09-17 10:19:10 · 102 阅读 · 0 评论 -
[Data Structure] Stack and Heap
文章目录StackDecode and Encode StringStackDecode and Encode Stringhttps://leetcode.com/problems/valid-parentheses/input: ‘([)]’output: True or False多种括号问题,容易错,还是得用stack,用count是不行的。。。Trapping Rain ...原创 2019-09-17 11:33:47 · 272 阅读 · 0 评论 -
[Data Structure] Binary Tree
binary tree iteratorhttps://leetcode.com/problems/binary-search-tree-iterator/原创 2019-09-17 11:34:15 · 129 阅读 · 0 评论 -
[Data Structure]超经典
https://leetcode.com/problems/decode-string/原创 2019-09-18 06:49:00 · 107 阅读 · 0 评论
分享