MCPcopy Create free account

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

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

↓ 1 callersMethodsearchBfs
(int step, Set<Cell> beginSet, Set<Cell> endSet, int[][] grid, boolean[][] beginVis
Week 06/id_131/LeetCode_1091_131_3.java:27
↓ 1 callersMethodsearchBfs
(int level, Set<String> meets, Set<String> beginSet, Set<String> endSet)
Week 06/id_131/LeetCode_127_131_3.java:21
↓ 1 callersMethodsearchMatrix
(int[][] matrix, int target)
Week 03/id_481/leetcode_74_481.java:50
↓ 1 callersMethodsearchMatrix
(int[][] matrix, int target)
Week 03/id_476/LeetCode_74_476.java:9
↓ 1 callersMethodsearchMatrix
原解1:2次二分搜素 @author Shaobo.Qian @date 2019/11/3
Week 03/id_371/Leetcode_74_371.java:22
↓ 1 callersMethodsearchMatrix
(int[][] matrix, int target)
Week 03/id_641/lesson11/LeetCode_74_641.java:12
↓ 1 callersMethodsearchMatrix
(int[][] matrix, int target)
Week 03/id_041/Search_a_2d_matrix.java:25
↓ 1 callersMethodsearchPrefix
(String prefix)
Week 06/id_371/Leetcode_208_371.java:96
↓ 1 callersFunctionselectSort
(list)
Week 07/id_091/sort.py:16
↓ 1 callersMethodsetEnd
()
Week 06/id_676/208.实现-trie-前缀树.java:78
↓ 1 callersMethodsetEnd
()
Week 06/id_306/TrieNode.java:27
↓ 1 callersMethodsetEnd
()
Week 06/id_321/LeetCode_208_321.java:24
↓ 1 callersMethodsetEnd
()
Week 06/id_371/Leetcode_208_371.java:38
↓ 1 callersMethodsetEnd
()
Week 06/id_716/LeetCode_208_716.java:71
↓ 1 callersMethodsetEnd
()
Week 06/id_716/LeetCode_212_716.java:122
↓ 1 callersMethodsetEnd
()
Week 06/id_336/LeetCode_336_212.js:21
↓ 1 callersMethodsetEnd
()
Week 06/id_336/LeetCode_336_208.js:15
↓ 1 callersMethodsetEnd
()
Week 06/id_696/LeetCode_208_696.java:71
↓ 1 callersMethodsetEnd
Week 06/id_616/LeetCode_208_616.cpp:21
↓ 1 callersMethodsetEnd
()
Week 06/id_466/LeetCode_208_466.java:117
↓ 1 callersMethodsetEnd
()
Week 06/id_131/LeetCode_208_131.java:74
↓ 1 callersMethodsetEnd
()
Week 06/id_311/LeetCode_208_Solution.java:17
↓ 1 callersMethodsetEnd
()
Week 06/id_081/Tire.java:62
↓ 1 callersMethodsetEnd
()
Week 06/id_611/LeetCode_208_611.java:68
↓ 1 callersMethodsetEnd
()
Week 06/id_611/LeetCode_212_611.java:87
↓ 1 callersMethodsetEnd
()
Week 06/id_156/208_java.java:23
↓ 1 callersMethodsetEnd
()
Week 06/id_471/LeetCode_212_471.java:116
↓ 1 callersMethodsetEnd
()
Week 06/id_471/LeetCode_208_471.java:75
↓ 1 callersMethodsetEndWord
(boolean endWord)
Week 06/id_006/LeetCode_208_006.java:30
↓ 1 callersMethodsetEndWord
(boolean endWord)
Week 06/id_006/LeetCode_212_006.java:41
↓ 1 callersMethodsetIsEnd
(boolean isEnd)
Week 06/id_506/LeetCode_208_506.java:91
↓ 1 callersMethodsetNext
(Entry<K,V> next)
Week 02/id_416/MyMap.java:17
↓ 1 callersMethodsetNode
(char c, TrieNode node)
Week 06/id_466/LeetCode_212_466.java:193
↓ 1 callersMethodsetValue
(V value)
Week 02/id_416/MyMap.java:15
↓ 1 callersFunctionshellSort
(slist)
Week 07/id_091/sort.py:68
↓ 1 callersMethodshortestPathBinaryMatrix
(int[][] grid)
Week 06/id_306/ShortestPathBinaryMatrixOther.java:23
↓ 1 callersMethodshortestPathBinaryMatrix
(int[][] grid)
Week 06/id_131/LeetCode_1091_131_3.java:7
↓ 1 callersMethodshortestPathBinaryMatrix
(int[][] grid)
Week 06/id_131/LeetCode_1091_131_1.java:7
↓ 1 callersMethodshortestPathBinaryMatrix
(int[][] grid)
Week 06/id_131/LeetCode_1091_131_2.java:10
↓ 1 callersFunctionsink
(i,j)
Week 06/id_361/leetCode_200_361.js:71
↓ 1 callersFunctionsink
(i,j)
Week 03/id_361/leetCode_200_361.js:71
↓ 1 callersMethodsink
(int i, int j)
Week 06/id_716/LeetCode_200_716.java:25
↓ 1 callersMethodsink
(int i, int j)
Week 03/id_516/LeetCode_200_516.java:51
↓ 1 callersMethodsink
(int i, int j)
Week 03/id_366/Leetcode_200_366.java:31
↓ 1 callersMethodsink
(int i, int j)
Week 03/id_286/LeetCode_200_286.java:33
↓ 1 callersMethodslidingPuzzle
仿解1: BFS @author Shaobo.Qian @date 2019/11/21 @link https://leetcode.com/problems/sliding-puzzle/discuss/146652/Java-8ms-BFS-with-algorithm-explained
Week 06/id_371/Leetcode_773_371.java:26
↓ 1 callersMethodslow_fast_index
(self, head)
Week 01/id_251/LeetCode_142_251.py:70
↓ 1 callersMethodsolution
几个月前写的 执行用时 :2 ms, 在所有 java 提交中击败了86.63%的用户 内存消耗 :37.5 MB, 在所有 java 提交中击败了90.05%的用户 @param nums @return
Week 02/id_711/Leetcode_46_711.java:21
↓ 1 callersMethodsolution
几月前写法 执行用时 :73 ms, 在所有 java 提交中击败了22.46%的用户 内存消耗 :53 MB, 在所有 java 提交中击败了14.55%的用户 @param nums @return
Week 02/id_711/Leetcode_47_711.java:22
↓ 1 callersMethodsolve
(char[][] board)
Week 06/id_516/Leetcode_37_516.java:8
↓ 1 callersMethodsolve
并查集写法 执行用时 :10 ms, 在所有 java 提交中击败了18.86%的用户 内存消耗 :46 MB, 在所有 java 提交中击败了84.49%的用户 @param board
Week 06/id_711/Leetcode_130_711.java:61
↓ 1 callersMethodsolve
(int row, int ld, int rd)
Week 07/id_306/NQueensTwo.java:11
↓ 1 callersMethodsolve
(int row, int ld, int rd)
Week 07/id_321/LeetCode_52_321.java:8
↓ 1 callersMethodsolve
(int row, int ld, int rd)
Week 07/id_576/LeetCode_52_576.java:15
↓ 1 callersMethodsolve
(int row, int ld, int rd)
Week 07/id_006/LeetCode_52_006.java:21
↓ 1 callersMethodsolve
(int row, int ld, int rd)
Week 07/id_081/NQueensII.java:8
↓ 1 callersMethodsolve
(int row, int ld,int rd)
Week 07/id_041/LeetCode_52_041.java:12
↓ 1 callersMethodsolve2
(char[][] grid)
Week 06/id_466/LeetCode_200_466.java:102
↓ 1 callersMethodsolve2
(char[][] board)
Week 06/id_466/LeetCode_130_466.java:178
↓ 1 callersFunctionsolveNQueens
(n)
Week 02/id_571/leetcode_51_571.js:5
↓ 1 callersFunctionsolveNQueens
(n)
Week 02/id_016/LeetCode_51_016.js:112
↓ 1 callersFunctionsolveNQueens
4.2
Week 02/id_071/LeetCode_051_071.go:4
↓ 1 callersMethodsolveNQueens
(int n)
Week 07/id_131/LeetCode_51_131.java:10
↓ 1 callersMethodsolveNQueens
(self, n)
Week 07/id_651/LeetCode_51_651.py:21
↓ 1 callersMethodsolveNQueens
仿解1:回溯+减枝 @author Shaobo.Qian @date 2019/11/10 @link https://leetcode-cn.com/problems/n-queens/solution/gen-ju-di-46-ti-quan-pai-lie-de-hui-su-suan-f
Week 02/id_371/Leetcode_0051_371.java:23
↓ 1 callersMethodsolveNQueens
(self, n: int)
Week 02/id_091/LeetCode_51_091.py:6
↓ 1 callersMethodsolveNQueensHelper
(int index, Set<Integer> col, Set<Inte
Week 02/id_241/LeetCode_51_241.java:21
↓ 1 callersMethodsolveSudoku
(char[][] board)
Week 06/id_466/LeetCode_37_466.java:77
↓ 1 callersMethodsolveSudokuHelper
(char[][] board)
Week 06/id_241/LeetCode_37_241.java:25
↓ 1 callersMethodsort
()
Week 02/id_021/algorithm/src/main/java/com/lqw/algorithm/binaryheap/HeapSort.java:44
↓ 1 callersMethodsplitArray
防解1:二分查找 @author Shaobo.Qian @date 2019/12/2 @link https://leetcode-cn.com/problems/split-array-largest-sum/solution/er-fen-cha-zhao-by-coder233-2/ @a
Week 05/id_371/Leetcode_371_410.java:24
↓ 1 callersMethodsqrt
(int x)
Week 03/id_276/LeetCode_69_276.java:8
↓ 1 callersMethodstartWith
(String prefix)
Week 06/id_611/LeetCode_212_611.java:133
↓ 1 callersMethodstartsWith
Returns if there is any word in the trie that starts with the given prefix.
Week 06/id_381/leetcode-208.py:32
↓ 1 callersMethodstartsWith
Returns if there is any word in the trie that starts with the given prefix.
Week 06/id_716/LeetCode_212_716.java:105
↓ 1 callersMethodstartsWith
Returns if there is any word in the trie that starts with the given prefix. :type prefix: str :rtype: bool
Week 06/id_251/LeetCode_208_251.py:57
↓ 1 callersMethodstartsWith
Returns if there is any word in the trie that starts with the given prefix.
Week 06/id_466/LeetCode_208_466.java:78
↓ 1 callersMethodstartsWith
Returns if there is any word in the trie that starts with the given prefix.
Week 06/id_501/week06/Trie.java:65
↓ 1 callersMethodstartsWith
Returns if there is any word in the trie that starts with the given prefix. */
Week 06/id_536/leetcode_208_536.cpp:82
↓ 1 callersMethodstartsWith
Week 06/id_151/LeetCode_212_151.cpp:33
↓ 1 callersMethodstartsWith
(String prefix)
Week 06/id_471/LeetCode_208_471.java:38
↓ 1 callersMethodsubSudokuIndex
(int row, int col)
Week 06/id_006/LeetCode_36_006.java:46
↓ 1 callersFunctionsubsets
(nums)
Week 02/id_571/leetcode_78_571.js:30
↓ 1 callersFunctionsubsets
(nums)
Week 02/id_016/LeetCode_78_016.js:68
↓ 1 callersMethodsubsets2
仿解2:dfs+一层一层决策 @author Shaobo.Qian @date 2019/11/5
Week 02/id_371/Leetcode_78_371.java:29
↓ 1 callersMethodsubsetsHelper
(int index, int[] nums, LinkedList<Integer> list)
Week 02/id_241/LeetCode_78_241.java:16
↓ 1 callersMethodsurrentMine
判断周围是否有雷 @param board @param i @param j @return
Week 03/id_431/LeetCode_529_431.java:43
↓ 1 callersMethodswap
(int i, int j, String str)
Week 06/id_371/Leetcode_773_371.java:61
↓ 1 callersMethodswap
(int index, int j, int[] arr1)
Week 07/id_371/Leetcode_1121_371.java:45
↓ 1 callersMethodswap
(int[] arr, int i, int j)
Week 07/id_081/BubbleSort.java:12
↓ 1 callersMethodswap
(int[] nums, int needSwapIndex, int i)
Week 01/id_371/LeetCode_283_371.java:40
↓ 1 callersMethodswapNode
(ListNode head, ListNode swapNode)
Week 01/id_431/LeetCode_24_431.java:18
↓ 1 callersFunctionswapPairs
(head)
Week 01/id_571/leetcode_24_571.js:16
↓ 1 callersFunctiontailClimbStairs
这个函数很重要,借助这个函数实现了尾递归调用
Week 02/id_716/LeetCode_70_716.go:19
↓ 1 callersMethodtest1
(int n)
Week 02/id_021/algorithm/src/main/java/com/lqw/algorithm/recursion/Solution.java:121
↓ 1 callersMethodtest2
(int n)
Week 02/id_021/algorithm/src/main/java/com/lqw/algorithm/recursion/Solution.java:127
↓ 1 callersMethodtest3
(int n)
Week 02/id_021/algorithm/src/main/java/com/lqw/algorithm/recursion/Solution.java:133
↓ 1 callersMethodtest_case
(self, nums)
Week 01/id_661/LeetCode_283_661.py:16
↓ 1 callersFunctionthreeSum
(nums)
Week 08/id_016/LeetCode_15_016.js:40
↓ 1 callersFunctionthreeSum
(nums)
Week 01/id_571/leetcode_15_571.js:5
← previousnext →1,601–1,700 of 6,280, ranked by callers