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
deleteFront
Week 01/id_166/MyCircularDeque.hpp:19
Method
deleteFront
Deletes an item from the front of Deque. Return true if the operation is successful.
Week 01/id_431/LeetCode_641_431.java:50
Method
deleteFront
Deletes an item from the front of Deque. Return true if the operation is successful.
Week 01/id_686/LeetCode_641_686.java:78
Method
deleteFront
Deletes an item from the front of Deque. Return true if the operation is successful.
Week 01/id_596/LeetCode_641_596.java:40
Method
deleteFront
Deletes an item from the front of Deque. Return true if the operation is successful.
Week 01/id_476/LeetCode_641_476.java:91
Method
deleteFront
Deletes an item from the front of Deque. Return true if the operation is successful.
Week 01/id_371/LeetCode_641_371.java:52
Method
deleteFront
Deletes an item from the front of Deque. Return true if the operation is successful. :rtype: bool
Week 01/id_251/LeetCode_641_251.py:80
Method
deleteFront
Deletes an item from the front of Deque. Return true if the operation is successful. :rtype: bool
Week 01/id_251/LeetCode_641_251.py:177
Method
deleteFront
Deletes an item from the front of Deque. Return true if the operation is successful. :rtype: bool
Week 01/id_251/LeetCode_641_251.py:272
Method
deleteFront
Deletes an item from the front of Deque. Return true if the operation is successful.
Week 01/id_416/LeetCode_641_416.java:89
Method
deleteFront
()
Week 01/id_276/DisignCicularDeque.java:31
Method
deleteFront
Deletes an item from the front of Deque. Return true if the operation is successful. :rtype: bool
Week 01/id_731/LeetCode_641_731.py:36
Method
deleteFront
Deletes an item from the front of Deque. Return true if the operation is successful.
Week 01/id_006/LeetCode_641_006.java:42
Method
deleteFront
()
Week 01/id_241/LeetCode_641_241.java:37
Method
deleteFront
()
Week 01/id_241/LeetCode_641_241.java:115
Method
deleteFront
()
Week 01/id_241/LeetCode_641_241.java:192
Method
deleteFront
Week 01/id_651/LeetCode_641_651.cpp:48
Method
deleteFront
Deletes an item from the front of Deque. Return true if the operation is successful. */
Week 01/id_586/641-design-circular-deque.cc:36
Method
deleteFront
Deletes an item from the front of Deque. Return true if the operation is successful. :rtype: bool
Week 01/id_116/[641]设计循环双端队列.py:75
Method
deleteFront
Deletes an item from the front of Deque. Return true if the operation is successful.
Week 01/id_766/LeetCode_641_766.java:50
Method
deleteFront
Deletes an item from the front of Deque. Return true if the operation is successful. */
Week 01/id_151/LeetCode_641_151.cpp:30
Method
deleteFront
()
Week 01/id_421/LeetCode_641_421.java:37
Method
deleteFront
()
Week 01/id_421/LeetCode_641_421.java:115
Method
deleteFront
()
Week 01/id_421/LeetCode_641_421.java:192
Method
deleteFront
()
Week 01/id_641/Leetcode641.java:44
Method
deleteFront
Deletes an item from the front of Deque. Return true if the operation is successful.
Week 01/id_541/P641DesignCircularDeque.java:105
Method
deleteFront
Deletes an item from the front of Deque. Return true if the operation is successful.
Week 01/id_701/leetcode_641_701.py:30
Method
deleteFront
Deletes an item from the front of Deque. Return true if the operation is successful.
Week 01/id_751/LeetCode_641_751.java:69
Method
deleteFront
Deletes an item from the front of Deque. Return true if the operation is successful.
Week 01/id_296/LeetCode_641_296.java:60
Method
deleteFront
Deletes an item from the front of Deque. Return true if the operation is successful.
Week 01/id_041/MyCircularDeque.java:42
Method
deleteFront
Deletes an item from 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:74
Method
deleteLast
Week 01/id_166/MyCircularDeque.hpp:25
Method
deleteLast
Deletes an item from the rear of Deque. Return true if the operation is successful.
Week 01/id_431/LeetCode_641_431.java:59
Method
deleteLast
Deletes an item from the rear of Deque. Return true if the operation is successful.
Week 01/id_686/LeetCode_641_686.java:88
Method
deleteLast
Deletes an item from the rear of Deque. Return true if the operation is successful.
Week 01/id_596/LeetCode_641_596.java:51
Method
deleteLast
Deletes an item from the rear of Deque. Return true if the operation is successful.
Week 01/id_476/LeetCode_641_476.java:103
Method
deleteLast
Deletes an item from the rear of Deque. Return true if the operation is successful.
Week 01/id_371/LeetCode_641_371.java:69
Method
deleteLast
Deletes an item from the rear of Deque. Return true if the operation is successful. :rtype: bool
Week 01/id_251/LeetCode_641_251.py:90
Method
deleteLast
Deletes an item from the rear of Deque. Return true if the operation is successful. :rtype: bool
Week 01/id_251/LeetCode_641_251.py:191
Method
deleteLast
Deletes an item from the rear of Deque. Return true if the operation is successful. :rtype: bool
Week 01/id_251/LeetCode_641_251.py:283
Method
deleteLast
()
Week 01/id_276/DisignCicularDeque.java:38
Method
deleteLast
Deletes an item from the rear of Deque. Return true if the operation is successful. :rtype: bool
Week 01/id_731/LeetCode_641_731.py:44
Method
deleteLast
Deletes an item from the rear of Deque. Return true if the operation is successful.
Week 01/id_006/LeetCode_641_006.java:51
Method
deleteLast
()
Week 01/id_241/LeetCode_641_241.java:48
Method
deleteLast
()
Week 01/id_241/LeetCode_641_241.java:124
Method
deleteLast
()
Week 01/id_241/LeetCode_641_241.java:201
Method
deleteLast
Week 01/id_651/LeetCode_641_651.cpp:55
Method
deleteLast
Deletes an item from the rear of Deque. Return true if the operation is successful. */
Week 01/id_586/641-design-circular-deque.cc:46
Method
deleteLast
Deletes an item from the rear of Deque. Return true if the operation is successful. :rtype: bool
Week 01/id_116/[641]设计循环双端队列.py:85
Method
deleteLast
Deletes an item from the rear of Deque. Return true if the operation is successful.
Week 01/id_766/LeetCode_641_766.java:61
Method
deleteLast
Deletes an item from the rear of Deque. Return true if the operation is successful. */
Week 01/id_151/LeetCode_641_151.cpp:40
Method
deleteLast
()
Week 01/id_421/LeetCode_641_421.java:48
Method
deleteLast
()
Week 01/id_421/LeetCode_641_421.java:124
Method
deleteLast
()
Week 01/id_421/LeetCode_641_421.java:201
Method
deleteLast
Deletes an item from the rear of Deque. Return true if the operation is successful.
Week 01/id_641/Leetcode641.java:56
Method
deleteLast
Deletes an item from the rear of Deque. Return true if the operation is successful.
Week 01/id_541/P641DesignCircularDeque.java:115
Method
deleteLast
Deletes an item from the rear of Deque. Return true if the operation is successful.
Week 01/id_701/leetcode_641_701.py:40
Method
deleteLast
Deletes an item from the rear of Deque. Return true if the operation is successful.
Week 01/id_751/LeetCode_641_751.java:78
Method
deleteLast
Deletes an item from the rear of Deque. Return true if the operation is successful.
Week 01/id_296/LeetCode_641_296.java:72
Method
deleteLast
Deletes an item from the rear of Deque. Return true if the operation is successful.
Week 01/id_041/MyCircularDeque.java:53
Method
deleteLast
Deletes an item from 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:86
Method
deleteWord
删除字符串 @param word
Week 06/id_501/week06/Trie.java:81
Method
deserialize
(String data)
Week 02/id_431/LeetCode_297_431.java:36
Method
deserialize
(String data)
Week 02/id_371/Leetcode_297_371.java:51
Function
detectCycle
* Definition for singly-linked list. * struct ListNode { * int val; * struct ListNode *next; * }; */
Week 01/id_586/142-linked-list-cycle-ii.c:8
Method
detectCycle
解题思路: 快慢指针,快指针每次走两步,慢指针每次走一步, 当两个指针相遇时,说明快指针走过的长度为慢指针走过的2倍。 又由于除了第一次相遇之后,以后的相遇就是在环里面走了, 所以可以得出,慢指针第一次相遇后,离初始环节点的长度就是头结点到初始环节点的长度 @param head @return
Week 01/id_431/LeetCode_142_431.java:20
Method
detectCycle
:type head: ListNode :rtype: ListNode
Week 01/id_251/LeetCode_142_251.py:57
Method
detectCycle
(ListNode head)
Week 01/id_416/LeetCode_142_416.java:45
Function
dfs
(M [][]int, visited []bool, c int)
Week 06/id_071/LeetCode_547_071.go:22
Method
dfs
(i, j, trie, s)
Week 06/id_126/LeetCode_212_126.py:13
Method
dfs
(i, j, trie, s)
Week 06/id_196/LeetCode_212_196.py:50
Method
dfs
Week 06/id_151/LeetCode_212_151.cpp:73
Method
dfs
Week 06/id_151/LeetCode_130_151.cpp:31
Method
dfs
Week 06/id_446/LeetCode_547_446.cpp:16
Method
dfs
(node)
Week 06/id_701/leetcode_547_701.py:3
Method
dfs
(queens, xy_diff, xy_sum)
Week 07/id_101/[51]N皇后.py:38
Method
dfs
(grid, i, j)
Week 03/id_661/LeetCode_200_661.py:6
Method
dfs
(x, y)
Week 03/id_596/LeetCode_529_596.py:20
Method
dfs
Week 03/id_446/LeetCode_200_446.cpp:17
Method
dfs
(grid: list, i: int, j: int)
Week 03/id_701/LeetCode_200_701.py:3
Method
dfs
(node)
Week 02/id_196/LeetCode_236_196.py:4
Method
doit
(node)
Week 02/id_251/LeetCode_297_251.py:46
Method
doubleLoop
(int[] nums)
Week 01/id_416/LeetCode_11_416.java:16
Method
dp
�ⷨ1��DP���������� ʱ�临�Ӷ�O(n*n) *******/
Week 05/id_536/leetcode_120_536.cpp:13
Method
dp
�ⷨ1��DP ʱ�临�Ӷ�O(n) *****/
Week 05/id_536/leetcode_70_536.cpp:12
Method
dp
�ⷨ2��DP ʱ�临�Ӷ�O(m*n) *******/
Week 05/id_536/leetcode_62_536.cpp:39
Method
dp
�ⷨ1��DP ʱ�临�Ӷ�O(len1*len2) ******/
Week 05/id_536/leetcode_1143_536.cpp:12
Method
dp2
�ⷨ2��DP��������������� ʱ�临�Ӷ�O(n*n) *******/
Week 05/id_536/leetcode_120_536.cpp:47
Function
exist
1.2 https://leetcode-cn.com/problems/word-search/ dfs
Week 06/id_071/LeetCode_079_071.go:5
Method
find
Week 06/id_616/LeetCode_547_616.cpp:13
Method
find
Week 06/id_586/leetcode_547_586.cc:10
Method
find
Week 06/id_586/leetcode_208_586.cc:43
Method
find
(x)
Week 06/id_196/LeetCode_200_196.py:37
Method
find
Week 06/id_151/LeetCode_547_151.cpp:10
Method
find
Week 06/id_151/LeetCode_212_151.cpp:39
Method
findAnagrams
双指针 @param s @param p @return
Week 08/id_306/FindAllAnagramsInAString.java:17
Method
findAnagrams
Week 08/id_151/LeetCode_438_151.cpp:3
Method
findAnagrams1
依次判断法&类KMP算法 https://leetcode-cn.com/problems/find-all-anagrams-in-a-string/solution/java-liang-fang-fa-yi-ci-pan-duan-fa-lei-kmpsuan-f/ @param s @par
Week 08/id_306/FindAllAnagramsInAString.java:45
Function
findCircleNum
(M [][]int)
Week 06/id_011/friend-circles.go:3
Function
findCircleNum
(M [][]int)
Week 06/id_261/leetcode_547_261.go:33
← previous
next →
2,701–2,800 of 6,280, ranked by callers