MCPcopy Create free account

hub / github.com/algorithm004-01/algorithm004-01 / functions

Functions6,280 in github.com/algorithm004-01/algorithm004-01

Methodinsert
Inserts a word into the trie. 一层层往下插入
Week 06/id_371/Leetcode_208_371.java:61
Methodinsert
Inserts a word into the trie.
Week 06/id_716/LeetCode_208_716.java:17
Methodinsert
(self, word)
Week 06/id_091/Leetcode_208_091.py:7
Methodinsert
Inserts a word into the trie.
Week 06/id_696/LeetCode_208_696.java:13
Methodinsert
Inserts a word into the trie.
Week 06/id_046/LeetCode_208_046.java:20
Methodinsert
Week 06/id_616/LeetCode_208_616.cpp:9
Methodinsert
Inserts a word into the trie. */
Week 06/id_616/LeetCode_208_616.cpp:36
Methodinsert
(String word)
Week 06/id_416/LeetCode_208_416.java:13
Methodinsert
Inserts a word into the trie.
Week 06/id_436/Leetcode_208_436.java:13
Methodinsert
Inserts a word into the trie.
Week 06/id_181/LeetCode_208_181.py:12
Methodinsert
Inserts a word into the trie.
Week 06/id_106/208.implement-trie-prefix-tree.java:60
Methodinsert
Inserts a word into the trie.
Week 06/id_131/LeetCode_208_131.java:16
Methodinsert
(self, word)
Week 06/id_246/LeetCode_208_246.py:27
Methodinsert
(String word)
Week 06/id_276/Leetcode_208.java:16
Methodinsert
Inserts a word into the trie.
Week 06/id_111/leetcode_208_111.py:30
Methodinsert
(String word)
Week 06/id_026/LeetCode_208_026.java:12
Methodinsert
(String word)
Week 06/id_241/LeetCode_208_241.java:14
Methodinsert
(String word)
Week 06/id_681/LeetCode_208_681.java:12
Methodinsert
Inserts a word into the trie.
Week 06/id_366/Leetcode_208_366.java:28
Methodinsert
Inserts a word into the trie.
Week 06/id_311/LeetCode_208_Solution.java:33
Methodinsert
Inserts a word into the trie. */
Week 06/id_586/leetcode_208_586.cc:19
Methodinsert
Inserts a word into the trie.
Week 06/id_491/LeetCode_208_491.java:11
Methodinsert
Inserts a word into the trie.
Week 06/id_196/LeetCode_208_196.py:32
Methodinsert
Inserts a word into the trie.
Week 06/id_086/LeetCode_208_086.java:21
Methodinsert
Inserts a word into the trie.
Week 06/id_611/LeetCode_208_611.java:9
Methodinsert
Inserts a word into the trie.
Week 06/id_446/LeetCode_208_446.cpp:28
Methodinsert
(String word)
Week 06/id_156/208_java.java:39
Methodinsert
Inserts a word into the trie.
Week 06/id_701/leetcode_208_701.py:10
Methodinsert
Inserts a word into the trie.
Week 06/id_506/LeetCode_208_506.java:11
Methodinsert
Inserts a word into the trie.
Week 06/id_041/LeetCode_208_041.java:19
Methodinsert
Inserts a word into the trie. :type word: str :rtype: None
Week 07/id_101/[208]实现 Trie (前缀树).py:39
Methodinsert
插入
Week 02/id_021/algorithm/src/main/java/com/lqw/algorithm/binaryheap/SmallHeap.java:34
MethodinsertFront
Week 01/id_166/MyCircularDeque.hpp:7
MethodinsertFront
Adds an item at the front of Deque. Return true if the operation is successful.
Week 01/id_431/LeetCode_641_431.java:24
MethodinsertFront
Adds an item at the front of Deque. Return true if the operation is successful.
Week 01/id_686/LeetCode_641_686.java:57
MethodinsertFront
Adds an item at the front of Deque. Return true if the operation is successful.
Week 01/id_556/LeetCode_641_556.java:35
MethodinsertFront
Adds an item at the front of Deque. Return true if the operation is successful.
Week 01/id_596/LeetCode_641_596.java:14
MethodinsertFront
Adds an item at the front of Deque. Return true if the operation is successful.
Week 01/id_476/LeetCode_641_476.java:67
MethodinsertFront
Adds an item at the front of Deque. Return true if the operation is successful.
Week 01/id_371/LeetCode_641_371.java:30
MethodinsertFront
Adds an item at the front of Deque. Return true if the operation is successful. :type value: int :rtype: bool
Week 01/id_251/LeetCode_641_251.py:58
MethodinsertFront
Adds an item at the front of Deque. Return true if the operation is successful. :type value: int :rtype: bool
Week 01/id_251/LeetCode_641_251.py:145
MethodinsertFront
Adds an item at the front of Deque. Return true if the operation is successful. :type value: int :rtype: bool
Week 01/id_251/LeetCode_641_251.py:247
MethodinsertFront
(int value)
Week 01/id_276/DisignCicularDeque.java:16
MethodinsertFront
Adds an item at the front of Deque. Return true if the operation is successful. :type value: int :rtype: bool
Week 01/id_731/LeetCode_641_731.py:12
MethodinsertFront
(int value)
Week 01/id_241/LeetCode_641_241.java:13
MethodinsertFront
(int value)
Week 01/id_241/LeetCode_641_241.java:91
MethodinsertFront
(int value)
Week 01/id_241/LeetCode_641_241.java:172
MethodinsertFront
Week 01/id_651/LeetCode_641_651.cpp:32
MethodinsertFront
Adds an item at the front of Deque. Return true if the operation is successful. */
Week 01/id_586/641-design-circular-deque.cc:14
MethodinsertFront
Adds an item at the front of Deque. Return true if the operation is successful. :type value: int :rtype: bool
Week 01/id_116/[641]设计循环双端队列.py:53
MethodinsertFront
Adds an item at the front of Deque. Return true if the operation is successful.
Week 01/id_766/LeetCode_641_766.java:26
MethodinsertFront
Adds an item at the front of Deque. Return true if the operation is successful. */
Week 01/id_151/LeetCode_641_151.cpp:10
MethodinsertFront
(int value)
Week 01/id_421/LeetCode_641_421.java:13
MethodinsertFront
(int value)
Week 01/id_421/LeetCode_641_421.java:91
MethodinsertFront
(int value)
Week 01/id_421/LeetCode_641_421.java:172
MethodinsertFront
(int value)
Week 01/id_641/Leetcode641.java:20
MethodinsertFront
Adds an item at the front of Deque. Return true if the operation is successful.
Week 01/id_541/P641DesignCircularDeque.java:77
MethodinsertFront
Adds an item at the front of Deque. Return true if the operation is successful.
Week 01/id_701/leetcode_641_701.py:10
MethodinsertFront
Adds an item at the front of Deque. Return true if the operation is successful.
Week 01/id_751/LeetCode_641_751.java:48
MethodinsertFront
Adds an item at the front of Deque. Return true if the operation is successful.
Week 01/id_296/LeetCode_641_296.java:28
MethodinsertFront
Adds an item at the front of Deque. Return true if the operation is successful.
Week 01/id_041/MyCircularDeque.java:18
MethodinsertFront
Adds an item at the front of Deque. Return true if the operation is successful.
Week 02/id_021/algorithm/src/main/java/com/lqw/algorithm/array/queue/MyCircularDeque.java:46
MethodinsertLast
Week 01/id_166/MyCircularDeque.hpp:13
MethodinsertLast
Adds an item at the rear of Deque. Return true if the operation is successful.
Week 01/id_431/LeetCode_641_431.java:37
MethodinsertLast
Adds an item at the rear of Deque. Return true if the operation is successful.
Week 01/id_686/LeetCode_641_686.java:67
MethodinsertLast
Adds an item at the rear of Deque. Return true if the operation is successful.
Week 01/id_596/LeetCode_641_596.java:29
MethodinsertLast
Adds an item at the rear of Deque. Return true if the operation is successful.
Week 01/id_476/LeetCode_641_476.java:79
MethodinsertLast
Adds an item at the rear of Deque. Return true if the operation is successful.
Week 01/id_371/LeetCode_641_371.java:41
MethodinsertLast
Adds an item at the rear of Deque. Return true if the operation is successful. :type value: int :rtype: bool
Week 01/id_251/LeetCode_641_251.py:69
MethodinsertLast
Adds an item at the rear of Deque. Return true if the operation is successful. :type value: int :rtype: bool
Week 01/id_251/LeetCode_641_251.py:161
MethodinsertLast
Adds an item at the rear of Deque. Return true if the operation is successful. :type value: int :rtype: bool
Week 01/id_251/LeetCode_641_251.py:259
MethodinsertLast
(int value)
Week 01/id_276/DisignCicularDeque.java:23
MethodinsertLast
Adds an item at the rear of Deque. Return true if the operation is successful. :type value: int :rtype: bool
Week 01/id_731/LeetCode_641_731.py:24
MethodinsertLast
Adds an item at the rear of Deque. Return true if the operation is successful.
Week 01/id_006/LeetCode_641_006.java:32
MethodinsertLast
(int value)
Week 01/id_241/LeetCode_641_241.java:25
MethodinsertLast
(int value)
Week 01/id_241/LeetCode_641_241.java:103
MethodinsertLast
(int value)
Week 01/id_241/LeetCode_641_241.java:182
MethodinsertLast
Week 01/id_651/LeetCode_641_651.cpp:40
MethodinsertLast
Adds an item at the rear of Deque. Return true if the operation is successful. */
Week 01/id_586/641-design-circular-deque.cc:25
MethodinsertLast
Adds an item at the rear of Deque. Return true if the operation is successful. :type value: int :rtype: bool
Week 01/id_116/[641]设计循环双端队列.py:64
MethodinsertLast
Adds an item at the rear of Deque. Return true if the operation is successful.
Week 01/id_766/LeetCode_641_766.java:38
MethodinsertLast
Adds an item at the rear of Deque. Return true if the operation is successful. */
Week 01/id_151/LeetCode_641_151.cpp:20
MethodinsertLast
(int value)
Week 01/id_421/LeetCode_641_421.java:25
MethodinsertLast
(int value)
Week 01/id_421/LeetCode_641_421.java:103
MethodinsertLast
(int value)
Week 01/id_421/LeetCode_641_421.java:182
MethodinsertLast
Adds an item at the rear of Deque. Return true if the operation is successful.
Week 01/id_541/P641DesignCircularDeque.java:91
MethodinsertLast
Adds an item at the rear of Deque. Return true if the operation is successful.
Week 01/id_701/leetcode_641_701.py:20
MethodinsertLast
Adds an item at the rear of Deque. Return true if the operation is successful.
Week 01/id_751/LeetCode_641_751.java:59
MethodinsertLast
Adds an item at the rear of Deque. Return true if the operation is successful.
Week 01/id_296/LeetCode_641_296.java:44
MethodinsertLast
Adds an item at the rear of Deque. Return true if the operation is successful.
Week 01/id_041/MyCircularDeque.java:30
MethodinsertLast
Adds an item at the rear of Deque. Return true if the operation is successful.
Week 02/id_021/algorithm/src/main/java/com/lqw/algorithm/array/queue/MyCircularDeque.java:61
MethodinsertionSort
插入排序 稳定
Week 07/id_476/Sort.java:66
Functioninsertion_sort
(arr)
Week 07/id_556/SortFuntions.py:25
FunctioninvertTree
(root)
Week 02/id_571/leetcode_226_571.js:12
FunctioninvertTree
* 方法 1 :递归 * 1. 空树无需翻转 * 2. 翻转树就是把树的左右子树互换 * */
Week 02/id_586/226-invert-binary-tree.c:15
MethodinvertTree
(TreeNode root)
Week 01/id_346/InvertTree_226.java:12
MethodinvertTree
(TreeNode root)
Week 02/id_431/LeetCode_226_431.java:9
MethodinvertTree
(self, root: TreeNode)
Week 02/id_551/LeetCode_226_551.py:9
MethodinvertTree
原解1:递归 @param root @return
Week 02/id_371/Leetcode_226_371.java:24
MethodinvertTree
:type root: TreeNode :rtype: TreeNode
Week 02/id_251/LeetCode_226_251.py:43
← previousnext →3,401–3,500 of 6,280, ranked by callers