Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
Create free account
hub
/
github.com/algorithm004-01/algorithm004-01
/ functions
Functions
6,280 in github.com/algorithm004-01/algorithm004-01
⨍
Functions
6,280
◇
Types & classes
2,806
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
Method
addScore
(int playerId, int score)
Week 07/id_431/LeetCode_1244_431.java:24
Method
addScore
(self, playerId, score)
Week 07/id_246/LeetCode_1244_246.py:48
Method
addWord
Week 06/id_536/leetcode_212_536.cpp:27
Method
add_solution
()
Week 06/id_126/LeetCode_51_126.py:18
Method
allocBuffer
Week 01/id_151/LeetCode_641_151.cpp:73
Method
backtrack
(row = 0)
Week 06/id_126/LeetCode_51_126.py:24
Method
backtrack
(iter=0)
Week 06/id_406/Leetcode_37_406.py:21
Method
backtrack
(iter=0)
Week 06/id_091/Leetcode_37_091.py:22
Method
backtrack
(res, routine, path, endWord)
Week 03/id_196/LeetCode_126_196.py:10
Method
backtrack
(start=1, curr=[])
Week 02/id_491/[77]Combinations.py:31
Method
backtrack
(IList<IList<int>> list, List<int> tempList, int[] nums)
Week 02/id_546/LeetCode_46_546.cs:25
Method
backtrack
(IList<IList<int>> list, List<int> tempList, int[] nums, bool[] used)
Week 02/id_546/LeetCode_47_546.cs:24
Method
bfs
(i, j, node, cur_word, visited)
Week 06/id_251/LeetCode_212_251.py:103
Method
bfs
(root: TreeNode, depth: int)
Week 03/id_636/LeetCode_102_636.py:20
Method
bfs_words
(begin, end, dict_words)
Week 03/id_661/LeetCode_127_661.py:16
Method
binarySearch1
��ͨ����
Week 03/id_536/leetcode_69_536.cpp:8
Method
binarySearch1
�ⷨ1����ͨ���� ʱ�临�Ӷ�:O(n) �ռ临�Ӷ�:O(1) *****/
Week 03/id_536/leetcode_704_536.cpp:30
Method
binarySearch2
���߽����
Week 03/id_536/leetcode_69_536.cpp:30
Method
binarySearch2
�ⷨ2�����߽���� ʱ�临�Ӷ�:O(n) �ռ临�Ӷ�:O(1) *****/
Week 03/id_536/leetcode_704_536.cpp:52
← previous
next →
2,401–2,500 of 6,280, ranked by callers