MCPcopy Create free account

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

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

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