MCPcopy Create free account

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

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

Method__init__
Initialize your data structure here.
Week 06/id_381/leetcode-208.py:2
Method__init__
Initialize your data structure here.
Week 06/id_406/Leetcode_208_406.py:3
Method__init__
(self)
Week 06/id_551/LeetCode_208_551.py:2
Method__init__
Initialize your data structure here.
Week 06/id_596/LeetCode_208_596.py:3
Method__init__
Initialize your data structure here.
Week 06/id_251/LeetCode_208_251.py:26
Method__init__
(self, n)
Week 06/id_251/并查集代码模板.py:2
Method__init__
(self, n)
Week 06/id_251/LeetCode_547_251.py:87
Method__init__
(self)
Week 06/id_091/Leetcode_208_091.py:3
Method__init__
Initialize your data structure here.
Week 06/id_181/LeetCode_208_181.py:3
Method__init__
(self, n)
Week 06/id_361/leetCode_200_361.py:9
Method__init__
(self)
Week 06/id_246/LeetCode_208_246.py:24
Method__init__
Initialize your data structure here.
Week 06/id_111/leetcode_208_111.py:22
Method__init__
(self)
Week 06/id_651/LeetCode_212_651.py:22
Method__init__
(self)
Week 06/id_651/LeetCode_212_651.py:26
Method__init__
(self)
Week 06/id_651/LeetCode_127_651.py:49
Method__init__
(self, n)
Week 06/id_651/LeetCode_200_651.py:81
Method__init__
Initialize your data structure here.
Week 06/id_196/LeetCode_208_196.py:26
Method__init__
Initialize your data structure here.
Week 06/id_701/leetcode_208_701.py:3
Method__init__
(self)
Week 05/id_251/LeetCode_70_251.py:76
Method__init__
(self, capacity)
Week 05/id_091/Leetcode_32_091.py:6
Method__init__
(self)
Week 07/id_101/[208]实现 Trie (前缀树).py:26
Method__init__
Initialize your data structure here.
Week 07/id_101/[208]实现 Trie (前缀树).py:32
Method__init__
(self)
Week 07/id_101/[146]LRU缓存机制.py:33
Method__init__
:type capacity: int
Week 07/id_101/[146]LRU缓存机制.py:41
Method__init__
:type capacity: int
Week 07/id_101/[146]LRU缓存机制.py:117
Method__init__
(self)
Week 07/id_101/[212]单词搜索 II.py:33
Method__init__
(self)
Week 07/id_101/[212]单词搜索 II.py:38
Method__init__
:type capacity: int
Week 07/id_126/LeetCode_146_126.py:4
Method__init__
(self, val)
Week 07/id_686/LeetCode_146_686.py:9
Method__init__
(self, capacity: int)
Week 07/id_686/LeetCode_146_686.py:16
Method__init__
(self)
Week 07/id_661/LeetCode_146_661.py:5
Method__init__
(self, capacity: int)
Week 07/id_661/LeetCode_146_661.py:13
Method__init__
:type capacity: int
Week 07/id_251/LeetCode_146_251.py:35
Method__init__
(self)
Week 07/id_251/LeetCode_146_251.py:66
Method__init__
(self, capacity)
Week 07/id_251/LeetCode_146_251.py:93
Method__init__
(self)
Week 07/id_246/LeetCode_1244_246.py:45
Method__init__
(self, capacity)
Week 07/id_246/LeetCode_146_246.py:32
Method__init__
(self, key=None, value=None)
Week 07/id_246/LeetCode_146_246.py:50
Method__init__
(self, key=None, value=None)
Week 07/id_651/LeetCode_146_651.py:9
Method__init__
(self, capacity)
Week 07/id_651/LeetCode_146_651.py:16
Method__init__
:type capacity: int
Week 07/id_196/LeetCode_146_196.py:33
Method__init__
(self, capacity: int)
Week 07/id_701/LeetCode_146_701.py:5
Method__init__
(self, x)
Week 03/id_701/LeetCode_102_701.py:3
Method__init__
(self, x)
Week 03/id_636/LeetCode_102_636.py:3
Method__init__
(self, x)
Week 01/id_251/LeetCode_24_251.py:17
Method__init__
Initialize your data structure here. Set the size of the deque to be k. :type k: int
Week 01/id_251/LeetCode_641_251.py:50
Method__init__
Initialize your data structure here. Set the size of the deque to be k. :type k: int
Week 01/id_251/LeetCode_641_251.py:135
Method__init__
Initialize your data structure here. Set the size of the deque to be k. :type k: int
Week 01/id_251/LeetCode_641_251.py:237
Method__init__
initialize your data structure here.
Week 01/id_251/LeetCode_155_251.py:37
Method__init__
initialize your data structure here.
Week 01/id_251/LeetCode_155_251.py:89
Method__init__
(self)
Week 01/id_251/LeetCode_155_251.py:133
Method__init__
(self)
Week 01/id_251/LeetCode_155_251.py:157
Method__init__
Initialize your data structure here. Set the size of the deque to be k. :type k: int
Week 01/id_731/LeetCode_641_731.py:3
Method__init__
Initialize your data structure here. Set the size of the deque to be k. :type k: int
Week 01/id_116/[641]设计循环双端队列.py:45
Method__init__
Initialize your data structure here. Set the size of the deque to be k.
Week 01/id_701/leetcode_641_701.py:3
Method__init__
(self, x)
Week 01/id_701/leetcode_21_701.py:3
Method__init__
(self, x)
Week 02/id_251/LeetCode_105_251.py:24
Method__init__
(self, val, left=None, right=None)
Week 02/id_251/tree_node.py:2
Method__init__
(self, tree=None)
Week 02/id_251/tree_node.py:8
Method__init__
(self)
Week 02/id_251/tree_node.py:13
Method__init__
(self, x)
Week 02/id_251/LeetCode_297_251.py:26
Method__init__
(self, data=None, left=None, right=None)
Week 02/id_091/LeetCode_94_091.py:3
Method__init__
(self)
Week 02/id_181/236.lowest-common-ancestor-of-a-binary-tree.py:12
Method__init__
(self)
Week 02/id_246/LeetCode_236_246.py:14
Method__init__
(self,x)
Week 02/id_246/LeetCode_94_246.py:17
Method__init__
(self)
Week 02/id_246/LeetCode_94_246.py:24
Method__init__
(self, x)
Week 02/id_246/LeetCode_105_246.py:25
Method__init__
(self,x)
Week 02/id_246/LeetCode_144_246.py:21
Method__init__
(self)
Week 02/id_246/LeetCode_144_246.py:28
Method__init__
(self, val, children)
Week 02/id_246/LeetCode_590_246.py:8
Method__init__
(self, x)
Week 02/id_701/leetcode_105_701.py:3
Method__init__
(self, val, children)
Week 02/id_636/LeetCode_590_636.py:15
Method__init__
(self, x)
Week 02/id_636/LeetCode_236_636.py:3
Method__init__
(self, val, children)
Week 02/id_636/LeetCode_589_636.py:19
Method__init__
(self, x)
Week 02/id_636/LeetCode_94_636.py:2
Method_dfs
Week 02/id_151/LeetCode_17_151.cpp:19
Method_dfs
Week 02/id_151/LeetCode_429_151.cpp:24
Method_getIndexByLoopSearch
(int[] nums, int target)
Week 01/id_416/LeetCode_704_416.java:26
Method_getIndexBySplitSearch
(int[] nums, int target, int splitNumsIndex)
Week 01/id_416/LeetCode_704_416.java:36
Method_post
Week 02/id_151/LeetCode_590_151.cpp:24
Method_pre
Week 02/id_151/LeetCode_589_151.cpp:24
MethodaddScore
(int playerId, int score)
Week 07/id_431/LeetCode_1244_431.java:24
MethodaddScore
(self, playerId, score)
Week 07/id_246/LeetCode_1244_246.py:48
MethodaddWord
Week 06/id_536/leetcode_212_536.cpp:27
Methodadd_solution
()
Week 06/id_126/LeetCode_51_126.py:18
MethodallocBuffer
Week 01/id_151/LeetCode_641_151.cpp:73
Methodbacktrack
(row = 0)
Week 06/id_126/LeetCode_51_126.py:24
Methodbacktrack
(iter=0)
Week 06/id_406/Leetcode_37_406.py:21
Methodbacktrack
(iter=0)
Week 06/id_091/Leetcode_37_091.py:22
Methodbacktrack
(res, routine, path, endWord)
Week 03/id_196/LeetCode_126_196.py:10
Methodbacktrack
(start=1, curr=[])
Week 02/id_491/[77]Combinations.py:31
Methodbacktrack
(IList<IList<int>> list, List<int> tempList, int[] nums)
Week 02/id_546/LeetCode_46_546.cs:25
Methodbacktrack
(IList<IList<int>> list, List<int> tempList, int[] nums, bool[] used)
Week 02/id_546/LeetCode_47_546.cs:24
Methodbfs
(i, j, node, cur_word, visited)
Week 06/id_251/LeetCode_212_251.py:103
Methodbfs
(root: TreeNode, depth: int)
Week 03/id_636/LeetCode_102_636.py:20
Methodbfs_words
(begin, end, dict_words)
Week 03/id_661/LeetCode_127_661.py:16
MethodbinarySearch1
��ͨ����
Week 03/id_536/leetcode_69_536.cpp:8
MethodbinarySearch1
�ⷨ1����ͨ���� ʱ�临�Ӷ�:O(n) �ռ临�Ӷ�:O(1) *****/
Week 03/id_536/leetcode_704_536.cpp:30
MethodbinarySearch2
���߽����
Week 03/id_536/leetcode_69_536.cpp:30
MethodbinarySearch2
�ⷨ2�����߽���� ʱ�临�Ӷ�:O(n) �ռ临�Ӷ�:O(1) *****/
Week 03/id_536/leetcode_704_536.cpp:52
← previousnext →2,401–2,500 of 6,280, ranked by callers