MCPcopy Create free account

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

Functions7,451 in github.com/algorithm004-03/algorithm004-03

↓ 1 callersFunctionboardDFS
(i, j, currStr, currNode)
Week 06/id_153/LeetCode_212_153.js:41
↓ 1 callersMethodbuild
(String[] strs)
Week 08/id_693/LeetCode_14_693.java:53
↓ 1 callersMethodbuild
(int inLeft, int inRight)
Week 02/id_633/LeetCode_105_633.java:12
↓ 1 callersMethodbuild
(int[] preorder, int preLeft, int[] inorder, int inLeft, int inRight)
Week 02/id_368/LeetCode_105_368.java:16
↓ 1 callersMethodbuild
(int[] inorder, int inLeft, int inRight, int[] postorder, int postRight)
Week 02/id_368/LeetCode_106_368.java:24
↓ 1 callersMethodbuild
(int leftIndex, int rightIndex)
Week 02/id_418/LeetCode_105_418.java:26
↓ 1 callersMethodbuild
@param preorder 前序数组 @param preStart 起始坐标,() @param inorder @param inStart @param inEnd @return @desc1 preStart + 1 在前序数组原头节点的下一个索引位置,同时也是原头节点的左子树节点 @
Week 02/id_693/LeetCode_105_693.java:35
↓ 1 callersMethodbuildDPForCountSubstrings
(String s)
Week 05/id_083/Leetcode-647.java:71
↓ 1 callersMethodbuildLinkTable
(String beginWord, List<String> wordList)
Week 03/id_063/LeetCode_126_063.java:41
↓ 1 callersMethodbuildObs
(int[][] obstacles)
Week 03/id_063/LeetCode_874_063.java:20
↓ 1 callersMethodbuildPatternMap
(List<String> wordList)
Week 03/id_618/LeetCode_127_618.java:51
↓ 1 callersMethodbuildPatterns
(String beginWord, List<String> wordList)
Week 06/id_618/LeetCode_127_618.java:60
↓ 1 callersMethodbuildPhoneLetters
()
Week 02/id_618/LeetCode_17_618.java:47
↓ 1 callersMethodbuildResult
将result转换成要求的字符串格式 @param result @return
Week 02/id_618/LeetCode_51_618.java:30
↓ 1 callersMethodbuildString
(TreeNode root, StringBuilder s)
Week 02/id_368/LeetCode_297_368.java:26
↓ 1 callersMethodbuildTree
(String[] words)
Week 06/id_693/LeetCode_212_693.java:48
↓ 1 callersMethodbuildTree
(String word)
Week 06/id_693/practise/LeetCode_79_693.java:86
↓ 1 callersMethodbuildTree
(Set<String> words, Map<String, List<String>> tree, Set<String> begin, Set<String> end, boolean isFront)
Week 03/id_368/LeetCode_126_368.java:94
↓ 1 callersMethodbuildTree
(Integer[] nums)
Week 03/id_613/java/src/main/LeetcodeMaxDepthSolutionOne.java:48
↓ 1 callersMethodbuildTree
(Integer[] nums)
Week 03/id_613/java/src/main/Leetcode102SolutionOne.java:84
↓ 1 callersMethodbuildTree
因为前序遍历 第一位就是总根元素,又因为没有重复的数值,所以从中序里找到根节点 种根 根节点的索引还代表,左子树有多少个节点, 然后构造左右子树
Week 02/id_498/LeetCode_105_498.py:13
↓ 1 callersMethodbuildTree
(LinkedList<String> nodes)
Week 02/id_368/LeetCode_297_368.java:43
↓ 1 callersMethodbuildTree
(int[] preorder, int[] inorder)
Week 02/id_418/LeetCode_105_418.java:44
↓ 1 callersMethodbuildTree
(int[] preorder,int[] inorder)
Week 02/id_693/LeetCode_105_693.java:21
↓ 1 callersMethodbuildTree
(int[] preorder, int[] inorder)
Week 02/id_588/LeetCode_105_588.java:8
↓ 1 callersMethodbuildTree
(int[] preorder, int[] inorder)
Week 02/id_363/LeetCode_105_363.java:61
↓ 1 callersMethodbuildTree0
(int inorderLeft, int inorderRight)
Week 02/id_618/LeetCode_105_618.java:97
↓ 1 callersMethodbuildTree2
(int[] preorder, int[] inorder)
Week 02/id_363/LeetCode_105_363.java:22
↓ 1 callersMethodbuildTreeHelper
(int[] preorder,int ps,int pe, int[] inorder,int is,int ie)
Week 02/id_138/LeetCode_105_138.java:28
↓ 1 callersMethodbuildTreeHelper
(int[] preorder, int p_start, int p_end, int[] inorder, int i_start, int i_end)
Week 02/id_133/leetcode_105_133.java:14
↓ 1 callersMethodbuildTreeHelper
(int[] preorder, int[] inorder, long stop)
Week 02/id_363/LeetCode_105_363.java:29
↓ 1 callersMethodbuildTreeHelper
(int[] preorder, int p_start, int p_end, int[] inorder, int i_start, int i_end)
Week 02/id_728/buildTree_105.java:6
↓ 1 callersFunctionbuildTrie
()
Week 06/id_258/LeetCode_212_258.js:16
↓ 1 callersFunctionbuildTrie
(words []string)
Week 06/id_313/LeetCode_212_313.go:30
↓ 1 callersMethodbuildTrie
(String[] words)
Week 06/id_273/LeetCode_212_273.java:23
↓ 1 callersMethodbuildTrie
(String[] words)
Week 06/id_643/LeetCode_212_643.java:29
↓ 1 callersMethodbuildTrie
O(words.length word.length) @param words @return
Week 06/id_633/LeetCode_212_633.java:51
↓ 1 callersMethodbuildTrie
(String[] words)
Week 06/id_098/LeetCode_212_098.java:37
↓ 1 callersMethodbuildTrie
(String[] words)
Week 06/id_593/LeetCode_208_593.java:34
↓ 1 callersMethodcalculate
(int[][] grid,int i,int j)
Week 05/id_648/LeetCode_34_648.java:28
↓ 1 callersMethodcalculateArea
(int[] heights, int start, int end)
Week 01/id_178/LeetCode_84_178.java:32
↓ 1 callersMethodcanCross
(int[] stones)
Week 05/id_063/Leetcode_403_063_solution1.java:69
↓ 1 callersMethodcanJump
(int[] nums)
Week 05/id_063/Leetcode_55_063.java:11
↓ 1 callersMethodcanJump
(int[] nums)
Week 03/id_613/java/src/main/Leetcode55SolutionTwo.java:13
↓ 1 callersFunctioncanJumpFromWhere
(position, nums)
Week 03/id_023/leetCode_55_023.js:6
↓ 1 callersMethodcanJumpPosition
(int position, int[] nums, int[] memo)
Week 03/id_368/LeetCode_55_368.java:17
↓ 1 callersMethodcanJumpRecur
(int[] nums, int position)
Week 03/id_273/LeetCode_55_273.java:19
↓ 1 callersMethodcanTransfer
(String s1, String s2)
Week 06/id_658/LeetCode_127_658.java:39
↓ 1 callersMethodcanTransfer
(String s1, String s2)
Week 06/id_683/LeetCode_127_683.java:86
↓ 1 callersMethodcanTransfer
(String s1, String s2)
Week 03/id_448/LeetCode_127_448.java:31
↓ 1 callersFunctioncanWalk
(arr,row,col)
Week 06/id_308/LeedCode_212.js:51
↓ 1 callersMethodchange
(int amount, int[] coins)
Week 05/id_063/Leetcode_518_063.java:12
↓ 1 callersFunctionchangeNode
(node)
Week 02/id_008/LeetCode_226_008.js:16
↓ 1 callersMethodchar2num
(char ch1, char ch2)
Week 05/id_063/Leetcode_91_063.java:15
↓ 1 callersMethodchar2num
(char ch1, char ch2)
Week 08/id_063/Leetcode_91_063.java:15
↓ 1 callersMethodcheck
(char[][] board, int i, int j)
Week 06/id_273/LeetCode_36_273.java:19
↓ 1 callersMethodcheck
(char[][] board, int x, int y)
Week 06/id_658/LeetCode_36_658.java:20
↓ 1 callersMethodcheck
(int last, Set<Integer> set, int index,int step)
Week 05/id_048/LeetCode_403_048.java:39
↓ 1 callersMethodcheck
(String str, String endWord, Set<Character> charSet, Set<String> wordSet)
Week 03/id_038/week-03-038/src/main/java/com/github/kylefeng/LeetCode_127_038.java:46
↓ 1 callersMethodcheck
(List<Integer> res)
Week 02/id_368/LeetCode_98_368.java:34
↓ 1 callersFunctioncheckMax
(node, max)
Week 02/id_008/LeetCode_98_008.js:50
↓ 1 callersFunctioncheckMin
(node, min)
Week 02/id_008/LeetCode_98_008.js:78
↓ 1 callersMethodcheckPoint
(int midIndex,int[] num)
Week 03/id_388/LeeCode_153_388.java:56
↓ 1 callersFunctioncheckPosition
(curRow, curCol)
Week 06/id_493/51.n皇后.js:44
↓ 1 callersMethodcheckRecord
(int n)
Week 05/id_063/Leetcode_552_063.java:27
↓ 1 callersMethodchoice2str_list
(int[] choice)
Week 06/id_063/Leetcode_51_063.java:13
↓ 1 callersMethodchoice2str_list
(int[] choice)
Week 02/id_063/Java/LeetCode_51_063.java:13
↓ 1 callersFunctionchooseLand
(y,x)
Week 03/id_308/LeedCode_200.js:29
↓ 1 callersMethodchsToList
(char[][] chs)
Week 02/id_218/LeetCode_51_218.java:68
↓ 1 callersMethodcleanBank
(char[] charArr)
Week 08/id_273/LeetCode_151_273.java:34
↓ 1 callersMethodcleanSpaces
(char[] chars, int n)
Week 08/id_713/LeetCode_151_ReverseWordsInAString.java:118
↓ 1 callersMethodclimb
(int k, int n, int temp[])
Week 01/id_273/LeetCode_70_283.java:46
↓ 1 callersFunctionclimbStairs
(n)
Week 05/id_258/LeetCode_70_258.js:12
↓ 1 callersFunctionclimbStairs
(n)
Week 02/id_533/LeetCode_70_533.js:8
↓ 1 callersMethodclimbStairs
(int n)
Week 01/id_368/practice/LeetCode_70_368.java:14
↓ 1 callersMethodclimbStairs1
3 |1,1,1|1,2|2,1| 4 |1,1,1,1|2,1,1|1,2,1|1,1,2|2,2| 5 |1,1,1,1,1|2,1,1,1|1,1,2,1|1,1,1,2|2,2,1| 推出答案是一组斐波那契数列 1 2 3 5 8... 即本题答案为第N个斐波那契数是几? 误区:做题只做一遍
Week 01/id_178/LeetCode_70_178.java:27
↓ 1 callersFunctionclimbing
(n)
Week 02/id_533/LeetCode_70_533.js:26
↓ 1 callersMethodclimbingStairs
(int n)
Week 08/id_613/java/src/main/Leetcode746.java:20
↓ 1 callersMethodcoinChangeByRecursion
(int remain, int[] coins, int[] mono)
Week 05/id_593/LeetCode_322_593.java:45
↓ 1 callersMethodcoinChangeHelper
(int[] coins, int amount,int[] count)
Week 03/id_138/LeetCode_322_138.java:24
↓ 1 callersMethodcomb
(int start, int end, int k, ArrayList<Integer> comb, List<List<Integer>> combs)
Week 02/id_428/LeeCode_77_428.java:11
↓ 1 callersMethodcombination
(HashMap<Character, String> map, int offset, List<String> list, String digits, String res)
Week 02/id_273/LeetCode_17_273.java:48
↓ 1 callersMethodcombinations
(digits_i, s)
Week 02/id_738/课堂题目实战/LeetCode_17_738.py:19
↓ 1 callersMethodcombinations
(String digits, int i, HashMap<Character, String> map, List<String> result, String s)
Week 02/id_683/LeetCode_17_683.java:24
↓ 1 callersMethodcombine
(char[][] grid, int x, int y)
Week 03/id_103/LeeCode_200_103.java:22
↓ 1 callersMethodcombine
(String str, String digits, int offset, List<String> list)
Week 02/id_273/LeetCode_17_273.java:18
↓ 1 callersMethodcombine
核心:确定终止条件(terminator)
Week 02/id_558/LeetCode_77_558.java:19
↓ 1 callersMethodcombine
首先使用的回溯方法,就是不断的添加,列表长度到k就停止,添加列表是由于可变要拷贝一下 n > k,n > 0, k > 0
Week 02/id_498/LeetCode_77_498.py:5
↓ 1 callersMethodcombine
(Map<Character, String> map, String digits, int index, List<String> res, String str)
Week 02/id_368/LeetCode_17_368.java:30
↓ 1 callersMethodcombine
(int n, int k)
Week 02/id_363/LeetCode_77_363.java:28
↓ 1 callersMethodcombine2
(int n, int k)
Week 02/id_693/LeetCode_77_693.java:50
↓ 1 callersMethodcombineHelper
(int n, int k, int start, Stack<Integer> stack)
Week 02/id_138/LeetCode_77_138.java:22
↓ 1 callersFunctioncompare
(a, b)
Week 06/id_008/LeetCode_433_008.js:48
↓ 1 callersFunctioncompare
(a, b)
Week 03/id_008/LeetCode_433_008.js:48
↓ 1 callersMethodcompare
(Interval a, Interval b)
Week 07/id_338/LeetCode_56_338.java:25
↓ 1 callersMethodcompareTo
(Node node)
Week 06/id_063/Leetcode_37_063.java:26
↓ 1 callersMethodcomputeEditDistance
(String word, String beginWord)
Week 03/id_363/LeetCode_127_363.java:129
↓ 1 callersMethodconstruct
(char[][] board)
Week 07/id_578/LeetCode_51_578.java:49
↓ 1 callersMethodcontainsKey
(char ch)
Week 06/id_218/LeetCode_212_218.java:99
↓ 1 callersMethodcontainsKey
(char ch)
Week 06/id_218/LeetCode_208_218.java:69
← previousnext →901–1,000 of 7,451, ranked by callers