Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
Create free account
hub
/
github.com/algorithm006-class02/algorithm006-class02
/ functions
Functions
5,772 in github.com/algorithm006-class02/algorithm006-class02
⨍
Functions
5,772
◇
Types & classes
2,815
Method
subsets
(self, nums)
Week_03/G20200343030632/Leetcode_78_632.py:2
Method
subsets
1.递归 @param nums @return
Week_03/G20200343030390/backtracking/Leetcode_78_390.java:25
Method
subsets
(int[] nums)
Week_03/G20200343030408/LeetCode_78_408.java:2
Method
subsets
回溯法解决问题
Week_03/G20200343030462/leetcode-78-462.cpp:4
Method
subsets
(self, nums: List[int])
Week_03/G20200343030638/LeetCode-78-638.py:2
Method
subsets
(int[] nums)
Week_03/G20200343030378/LeetCode_78_378.java:5
Method
subsets
(int[] nums)
Week_03/G20200343030020/subsets.java:2
Method
subsets
(self, nums: List[int])
Week_03/G20200343030610/LeetCode_78_610.py:3
Method
subsetsTwo
2.迭代 @param nums @return
Week_03/G20200343030390/backtracking/Leetcode_78_390.java:49
Method
swap
(l, r)
Week_01/G20200343030620/LeetCode_189_620.py:39
Method
swap
(i,j)
Week_01/G20200343030016/LeetCode_189_016.py:11
Method
swap
Week_01/G20200343030506/LeetCode_189_506.cpp:54
Function
swapPairs
(head)
Week_01/G20200343030430/LeetCode_24_430.js:12
Method
swapPairs
(self, head: ListNode)
Week_03/G20200343030632/Leetcode_24_632.py:8
Method
swapPairs
采用分组的形式进行倒过来 @param head @return
Week_01/G20200343030566/src/main/java/com/sebar/algorithm/Leetcode_24_566.java:32
Method
swapPairs
(ListNode head)
Week_01/G20200343030020/swap-nodes-in-pairs.java:12
Method
swapPairs
(ListNode head)
Week_01/G20200343030542/LeetCode_24_542.java:4
Method
test
()
Week_02/G20200343030584/LeetCode_590_584.java:13
Method
test
()
Week_02/G20200343030584/LeetCode_144_584.java:15
Method
test
()
Week_02/G20200343030584/LeetCode_49_584.java:23
Method
test
()
Week_02/G20200343030584/LeetCode_46_584.java:28
Method
test
()
Week_02/G20200343030584/LeetCode_589_584.java:14
Method
test
()
Week_02/G20200343030584/LeetCode_77_584.java:28
Method
test
()
Week_02/G20200343030584/LeetCode_47_584.java:28
Method
test
()
Week_06/G20200343030584/LeetCode_212_584.java:32
Method
test
()
Week_06/G20200343030584/LeetCode_547_584.java:28
Method
test
()
Week_07/G20200343030584/LeetCode_190_584.java:16
Method
test
()
Week_07/G20200343030584/LeetCode_56_584.java:23
Method
test
()
Week_03/G20200343030584/LeetCode_33_584.java:19
Method
test
()
Week_03/G20200343030584/LeetCode_200_584.java:29
Method
test
()
Week_03/G20200343030584/LeetCode_122_584.java:18
Method
test
()
Week_03/G20200343030584/LeetCode_860_584.java:17
Method
test
()
Week_03/G20200343030584/LeetCode_127_584.java:33
Method
test
()
Week_03/G20200343030584/LeetCode_74_584.java:22
Method
test
()
Week_03/G20200343030584/LeetCode_69_584.java:22
Method
test
()
Week_03/G20200343030584/LeetCode_367_584.java:16
Method
test
()
Week_08/G20200343030584/LeetCode_917_584.java:24
Method
test
()
Week_08/G20200343030584/LeetCode_387_584.java:22
Method
test
()
Week_01/G20200343030584/LeetCode_189_584.java:9
Method
test
()
Week_01/G20200343030584/LeetCode_26_584.java:6
Method
test
()
Week_01/G20200343030584/LeetCode_66_584.java:16
Method
test
()
Week_01/G20200343030584/LeetCode_21_584.java:11
Method
test
()
Week_01/G20200343030584/LeetCode_88_584.java:21
Method
test
()
Week_01/G20200343030584/DequeApi.java:5
Method
test
()
Week_01/G20200343030584/LeetCode_1_584.java:21
Method
test
()
Week_01/G20200343030584/LeetCode_283_584.java:16
Method
test
()
Week_05/G20200343030584/LeetCode_64_584.java:21
Method
test
()
Week_05/G20200343030584/LeetCode_91_584.java:24
Method
testCirularDeque
()
Week_01/G20200343030584/Main.java:29
Method
testSolution
(self)
Week_05/G20200343030398/LeetCode_91_398.py:29
Method
testSolution1
(self)
Week_05/G20200343030398/LeetCode_64_398.py:83
Method
testSolution2
(self)
Week_05/G20200343030398/LeetCode_64_398.py:86
Method
testSolution3
(self)
Week_05/G20200343030398/LeetCode_64_398.py:89
Method
testSolution4
(self)
Week_05/G20200343030398/LeetCode_64_398.py:92
Function
threeSum
(nums)
Week_01/G20200343030430/LeetCode_15_430.js:5
Method
threeSum
Week_00/G20200343030400/LeetCode_15_400.cpp:6
Method
threeSum
:type nums: List[int] :rtype: List[List[int]]
Week_00/G20200343030488/15.三数之和.py:9
Method
threeSum
:type nums: List[int] :rtype: List[List[int]]
Week_01/G20200343030488/15.三数之和.py:9
Method
threeSum
(self, nums: List[int])
Week_01/G20200389010036/LeetCode_15_036.py:32
Method
threeSum
解法一:先排序数组,固定第一个元素,然后用类似2sum的hash查找另外两个元素。注意重复值的处理,时间复杂度O(n^2),空间复杂度O(n) 60ms 90.09% */
Week_01/G20200343030636/LeetCode_15_636.cpp:97
Method
threeSum
(int[] nums)
Week_01/G20200343030536/LeetCode_15_536.java:10
Method
threeSum
(int[] num)
Week_01/G20200343030364/LeetCode_15_364.java:12
Method
threeSum
Week_01/G20200343030462/LeetCode_15_462.cpp:5
Method
threeSum
Week_01/G20200343030462/LeetCode_15_462.cpp:62
Method
threeSum
(self, nums: List[int])
Week_01/G20200343030638/LeetCode_15(1)_638.py:9
Method
threeSum
(self, nums: List[int])
Week_01/G20200343030638/LeetCode_15(2)_638.py:9
Method
threeSum
(int[] nums)
Week_01/G20200343030020/threeSum.java:3
Method
threeSum
(int[] nums)
Week_01/G20200343030542/LeetCode_15_542.java:7
Method
toLowerCase
(String s)
Week_08/G20200343030364/LeetCode_709_364.java:8
Method
toLowerCase
Week_08/G20200343030462/leetcode-709-462.cpp:3
Method
toLowerCase
(self, str: str)
Week_08/G20200343030638/LeetCode_709_638.py:2
Method
top
(int K)
Week_07/G20200343030590/LeetCode_1244_590.java:31
Method
top
(int K)
Week_07/G20200343030024/LeetCode_1244_024.java:12
Method
top
(int K)
Week_07/G20200343030600/LeetCode_1244_600.java:14
Method
top
(int K)
Week_07/G20200343030368/LeetCode_1244_368.java:13
Method
top
()
Week_01/G20200343030518/InClass/LeetCode_155_518.java:30
Method
top
()
Week_01/G20200343030542/LeetCode_155_542.java:27
Function
totalNQueens
(n)
Week_07/G20200447010070/LeetCode_52_070.js:12
Function
totalNQueens
(n)
Week_07/G20200343030380/Leetcode-52-380.js:15
Method
totalNQueens
Week_07/G20200343030400/LeetCode_52_400.cpp:3
Method
totalNQueens
(int n)
Week_07/G20200343030436/52.n皇后-ii.java:73
Method
totalNQueens
(int n)
Week_07/G20200343030590/LeetCode_52_590.java:38
Method
totalNQueens
(int n)
Week_07/G20200343030578/LeetCode_52_578.java:33
Method
totalNQueens
(int n)
Week_07/G20200343030580/LeetCode_52_580.java:2
Method
totalNQueens
(self, n: int)
Week_07/G20200343030438/LeetCode_52_438.py:6
Method
totalNQueens
(int n)
Week_07/G20200343030390/Leetcoce_52.java:12
Method
totalNQueens
(int n)
Week_07/G20200343030414/LeetCode_52_414.java:14
Method
totalNQueens
(int n)
Week_07/G20200343030600/LeetCode_52_600.java:5
Method
totalNQueens
(int n)
Week_07/G20200343030368/LeetCode_52_368.java:3
Method
totalNQueens
(self, n: int)
Week_07/G20200343030638/LeetCode_52_638.py:2
Method
totalNQueens1
(int n)
Week_07/G20200343030436/52.n皇后-ii.java:15
Function
trap
Week_01/G20200343030420/LeetCode_42_420.c:1
Function
trap
(height)
Week_01/G20200343030430/LeetCode_42_430.js:5
Method
trap
(int[] height)
Week_00/G20200343030644/java/RainwaterCollection.java:9
Method
trap
Week_01/G20200343030400/LeetCode_42_400.cpp:6
Method
trap
Week_01/G20200343030428/LeetCode_42_428.cpp:10
Method
trap
:type height: List[int] :rtype: int
Week_01/G20200343030488/42.接雨水.py:9
Method
trap
(int[] height)
Week_01/G20200343030490/LeetCode_42_490.java:23
Method
trap
(int[] height)
Week_01/G20200343030436/42.接雨水.java:16
Method
trap
use two pointers intuition:
Week_01/G20200343030590/LeetCode_42_590.java:8
← previous
next →
5,501–5,600 of 5,772, ranked by callers