Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
Create free account
hub
/
github.com/algorithm006-class02/algorithm006-class02
/ functions
Functions
5,772 in github.com/algorithm006-class02/algorithm006-class02
⨍
Functions
5,772
◇
Types & classes
2,815
Method
inorderTraversal
(self, root: TreeNode)
Week_02/G20200343030632/Leetcode_94_632.py:16
Method
inorderTraversal
(TreeNode root)
Week_02/G20200343030376/LeetCode_94_376.java:17
Method
inorderTraversal
(self, root: TreeNode)
Week_02/G20200343030520/LeetCode-94-0520.py:25
Method
inorderTraversal
(TreeNode root)
Week_02/G20200343030536/LeetCode_94_536.java:11
Method
inorderTraversal
Week_02/G20200343030544/LeetCode_94_544.cpp:11
Method
inorderTraversal
1.递归 @param root @return
Week_02/G20200343030390/tree/Leetcode_94_390.java:49
Method
inorderTraversal
(TreeNode root)
Week_02/G20200343030408/puzzle1.java:11
Method
inorderTraversal
(TreeNode root)
Week_02/G20200343030434/LeetCode_94_434.java:21
Method
inorderTraversal
Week_02/G20200343030462/LeetCode_94_462.cpp:3
Method
inorderTraversal
(TreeNode root)
Week_02/G20200343030532/LeetCode_94_532.java:29
Method
inorderTraversal
(self, root: TreeNode)
Week_02/G20200343030588/leetcode_94_588.py:12
Method
inorderTraversal
(self, root: TreeNode)
Week_02/G20200343030638/LeetCode-94-638.py:12
Method
inorderTraversal
(TreeNode root)
Week_02/G20200343030378/LeetCode_94_378.java:6
Method
inorderTraversal
(TreeNode root)
Week_02/G20200343030020/binary-tree-inorder-traversal.java:2
Method
inorderTraversal1
递归 时间复杂度:O(n):每个节点都要访问一次 空间复杂度:最坏是O(n),平均是O(logn) @param root @return
Week_02/G20200343030564/LeetCode_94_564.java:46
Function
inorderTraversal2
(root)
Week_02/G20200343030382/Leetcode_94_382.js:26
Method
inorderTraversal2
方法二是用stack来模拟虚拟机的栈 @param root @return
Week_02/G20200343030022/LeetCode_94_022.java:51
Function
inorderTraversal3
(root)
Week_02/G20200343030382/Leetcode_94_382.js:45
Method
inorderTraversal3
莫里斯遍历 @param root @param res
Week_02/G20200343030564/LeetCode_94_564.java:90
Method
inorderTraversalTwo
2.基于栈的遍历 @param root @return
Week_02/G20200343030390/tree/Leetcode_94_390.java:72
Method
inorderTraversal_v1
(TreeNode root)
Week_02/G20200343030632/Leetcode_94_632.java:19
Method
inorderTraversal_v1
(self, root: TreeNode)
Week_02/G20200343030632/Leetcode_94_632.py:20
Method
inorderTraversal_v2
迭代做法, 利用栈, 使用标记的方法 1. 使用颜色标记节点的状态,新节点为白色,已访问的节点为灰色。 2. 如果遇到的节点为白色,则将其标记为灰色,然后将其右子节点、自身、左子节点依次入栈 3. 如果
Week_02/G20200343030632/Leetcode_94_632.py:30
Method
insert
(self, word: str)
Week_06/G20200343030400/LeetCode_208_400.py:7
Method
insert
遍历单词中的字母,从根节点开始逐个插入到 前缀树 中,children 属性是一个数组,key值是字节中的letter值
Week_06/G20200343030440/leetcode_208_440.php:30
Method
insert
Inserts a word into the trie.
Week_06/G20200389010036/LeetCode_208_036.py:21
Method
insert
Inserts a word into the trie.
Week_06/G20200343030640/lesson13/208_trie_prefix_tree.py:21
Method
insert
Inserts a word into the trie.
Week_06/G20200343030640/lesson13/208_trie_prefix_tree.java:21
Method
insert
Inserts a word into the trie. */
Week_06/G20200343030622/LeetCode_208_622.cc:47
Method
insert
Inserts a word into the trie.
Week_06/G20200343030436/208.实现-trie-前缀树.java:46
Method
insert
Inserts a word into the trie.
Week_06/G20200343030398/LeetCode_208_398.py:15
Method
insert
(String word)
Week_06/G20200343030022/LeetCode_208_022.java:19
Method
insert
Inserts a word into the trie.
Week_06/G20200343030024/LeetCode_208_024.java:14
Method
insert
Inserts a word into the trie.
Week_06/G20200343030496/LeetCode_208_496.py:9
Method
insert
Inserts a word into the trie.
Week_06/G20200343030584/LeetCode_208_584.java:21
Method
insert
Inserts a word into the trie.
Week_06/G20200343030578/LeetCode_208_578.java:77
Method
insert
Inserts a word into the trie.
Week_06/G20200343030580/LeetCode_208_580.java:13
Method
insert
Inserts a word into the trie.
Week_06/G20200343030404/LeetCode_208_404.java:11
Method
insert
Inserts a word into the trie. 链接存在。沿着链接移动到树的下一个子层。算法继续搜索下一个键字符。 链接不存在。创建一个新的节点,并将它与父节点的链接相连,该链接与当前的键字符相匹配。
Week_06/G20200343030592/LeetCode_208_592.java:55
Method
insert
Inserts a word into the trie.
Week_06/G20200343030522/LeetCode_208_522.java:70
Method
insert
insert a word into the trie
Week_06/G20200343030566/Leetcode_208_566.java:22
Method
insert
Inserts a word into the trie. */
Week_06/G20200343030614/LeetCode_208_614.cpp:14
Method
insert
Week_06/G20200343030544/LeetCode_208_544.cpp:11
Method
insert
Inserts a word into the trie. */
Week_06/G20200343030508/LeetCode_208_508.cpp:54
Method
insert
Inserts a word into the trie.
Week_06/G20200343030364/LeetCode_208_364.java:51
Method
insert
Inserts a word into the trie.
Week_06/G20200343030600/LeetCode_208_600.java:15
Method
insert
Inserts a word into the trie.
Week_06/G20200343030402/[208]实现 Trie (前缀树).java:36
Method
insert
向字典树中添加单词 @param word 单词
Week_06/G20200343030426/Trie208.java:37
Method
insert
(String word)
Week_06/G20200343030368/LeetCode_208_368.java:15
Method
insert
Inserts a word into the trie. */
Week_06/G20200343030462/leetcode-208-462.cpp:14
Method
insert
(word)
Week_06/G20200343030380/Leetcode-208-380.js:50
Method
insert
Inserts a word into the trie.
Week_06/G20200343030362/LeetCode_208_362.py:10
Method
insert
Inserts a word into the trie.
Week_06/G20200343030620/LeetCode_208_620.py:11
Method
insert
Inserts a word into the trie.
Week_06/G20200343030386/LeetCode_208_386.java:34
Method
insert
Inserts a word into the trie.
Week_06/G20200343030378/LeetCode_208_378.java:16
Method
insert
insert a word into the trie @param word
Week_06/G20200343030020/trie.java:26
Method
insert
Inserts a word into the trie.
Week_06/G20200343030610/LeetCode_208_610.py:10
Method
insert
Week_06/G20200343030506/LeetCode_208_506.cpp:18
Method
insertFront
Adds an item at the front of Deque. Return true if the operation is successful. */
Week_01/G20200343030400/LeetCode_641_400.cpp:22
Method
insertFront
Adds an item at the front of Deque. Return true if the operation is successful. */
Week_01/G20200343030428/LeetCode_641_428.cpp:25
Method
insertFront
Adds an item at the front of Deque. Return true if the operation is successful. :type value: int :rtype: bool
Week_01/G20200343030488/641.设计循环双端队列.py:21
Method
insertFront
Adds an item at the front of Deque. Return true if the operation is successful.
Week_01/G20200343030518/LeetCode_641_518.java:33
Method
insertFront
Adds an item at the front of Deque. Return true if the operation is successful.
Week_01/G20200343030640/640_wekk_01_middle_641.py:19
Method
insertFront
Adds an item at the front of Deque. Return true if the operation is successful.
Week_01/G20200343030490/LeetCode_641_490.java:63
Method
insertFront
Adds an item at the front of Deque. Return true if the operation is successful.
Week_01/G20200343030436/641.设计循环双端队列.java:29
Method
insertFront
Adds an item at the front of Deque. Return true if the operation is successful.
Week_01/G20200343030022/LeetCode_641_022.java:19
Method
insertFront
(int value)
Week_01/G20200343030024/LeetCode_622_024.java:13
Method
insertFront
(int value)
Week_01/G20200343030024/LeetCode_622_024.java:91
Method
insertFront
Adds an item at the front of Deque. Return true if the operation is successful.
Week_01/G20200343030584/MyCircularDeque2.java:48
Method
insertFront
Adds an item at the front of Deque. Return true if the operation is successful.
Week_01/G20200343030580/LeetCode_641_580.java:20
Method
insertFront
Adds an item at the front of Deque. Return true if the operation is successful. */
Week_01/G20200343030636/LeetCode_641_636.cpp:68
Method
insertFront
Adds an item at the front of Deque. Return true if the operation is successful.
Week_01/G20200343030492/LeetCode_641_492.java:28
Method
insertFront
Adds an item at the front of Deque. Return true if the operation is successful.
Week_01/G20200343030492/LeetCode_641_492.java:122
Method
insertFront
Adds an item at the front of Deque. Return true if the operation is successful.
Week_01/G20200343030566/src/main/java/com/sebar/algorithm/Leetcode_641_566.java:41
Method
insertFront
Adds an item at the front of Deque. Return true if the operation is successful.
Week_01/G20200343030566/src/main/java/com/sebar/algorithm/MyCircularDeque.java:35
Method
insertFront
Adds an item at the front of Deque. Return true if the operation is successful. */
Week_01/G20200343030614/LeetCode_641_614.cpp:26
Method
insertFront
Adds an item at the front of Deque. Return true if the operation is successful.
Week_01/G20200343030536/LeetCode_641_536.java:20
Method
insertFront
Adds an item at the front of Deque. Return true if the operation is successful.
Week_01/G20200343030608/实现双端队列.py:12
Method
insertFront
Adds an item at the front of Deque. Return true if the operation is successful.
Week_01/G20200343030402/MyCircularDeque.java:65
Method
insertFront
Adds an item at the front of Deque. Return true if the operation is successful.
Week_01/G20200343030620/LeetCode_641_620.py:12
Method
insertFront
Adds an item at the front of Deque. Return true if the operation is successful.
Week_01/G20200343030422/LeetCode_641_442.java:15
Method
insertFront
Adds an item at the front of Deque. Return true if the operation is successful.
Week_01/G20200343030386/LeetCode_641_386.java:18
Method
insertFront
Adds an item at the front of Deque. Return true if the operation is successful.
Week_01/G20200343030378/LeetCode_641_378.java:20
Method
insertFront
Adds an item at the front of Deque. Return true if the operation is successful.
Week_01/G20200343030548/LeetCode_641_548.java:19
Method
insertFront
Adds an item at the front of Deque. Return true if the operation is successful.
Week_01/G20200343030542/LeetCode_641_542.java:21
Method
insertLast
Adds an item at the rear of Deque. Return true if the operation is successful. */
Week_01/G20200343030400/LeetCode_641_400.cpp:31
Method
insertLast
Adds an item at the rear of Deque. Return true if the operation is successful. */
Week_01/G20200343030428/LeetCode_641_428.cpp:34
Method
insertLast
Adds an item at the rear of Deque. Return true if the operation is successful. :type value: int :rtype: bool
Week_01/G20200343030488/641.设计循环双端队列.py:34
Method
insertLast
Adds an item at the rear of Deque. Return true if the operation is successful.
Week_01/G20200343030518/LeetCode_641_518.java:45
Method
insertLast
Adds an item at the rear of Deque. Return true if the operation is successful.
Week_01/G20200343030640/640_wekk_01_middle_641.py:30
Method
insertLast
Adds an item at the rear of Deque. Return true if the operation is successful.
Week_01/G20200343030490/LeetCode_641_490.java:74
Method
insertLast
Adds an item at the rear of Deque. Return true if the operation is successful.
Week_01/G20200343030436/641.设计循环双端队列.java:39
Method
insertLast
Adds an item at the rear of Deque. Return true if the operation is successful.
Week_01/G20200343030022/LeetCode_641_022.java:29
Method
insertLast
(int value)
Week_01/G20200343030024/LeetCode_622_024.java:23
Method
insertLast
(int value)
Week_01/G20200343030024/LeetCode_622_024.java:101
Method
insertLast
Adds an item at the rear of Deque. Return true if the operation is successful.
Week_01/G20200343030584/MyCircularDeque2.java:60
Method
insertLast
Adds an item at the rear of Deque. Return true if the operation is successful.
Week_01/G20200343030580/LeetCode_641_580.java:36
Method
insertLast
Adds an item at the rear of Deque. Return true if the operation is successful. */
Week_01/G20200343030636/LeetCode_641_636.cpp:76
Method
insertLast
Adds an item at the rear of Deque. Return true if the operation is successful.
Week_01/G20200343030492/LeetCode_641_492.java:43
Method
insertLast
Adds an item at the rear of Deque. Return true if the operation is successful.
Week_01/G20200343030492/LeetCode_641_492.java:132
← previous
next →
2,901–3,000 of 5,772, ranked by callers