MCPcopy Create free account

hub / github.com/Jack-Lee-Hiter/AlgorithmsByPython / functions

Functions495 in github.com/Jack-Lee-Hiter/AlgorithmsByPython

↓ 1 callersFunctiongetdata
()
regularExpression/re练习.py:10
↓ 1 callersFunctiongoodSuffixTable
(pattern)
AwesomeAlgorithms/BoyerMoore算法.py:52
↓ 1 callersMethodhasAnyChildren
(self)
AVL.py:28
↓ 1 callersMethodhasAnyChildren
(self)
BinarySearchTree.py:28
↓ 1 callersMethodhasBothChildren
(self)
AVL.py:31
↓ 1 callersMethodhasBothChildren
(self)
BinarySearchTree.py:31
↓ 1 callersMethodhasPathCore
(self, matrix, rows, cols, row, col, path, pathLength, visited)
Target Offer/矩阵中的路径.py:23
↓ 1 callersFunctionhash
(astring, tablesize)
Hash.py:6
↓ 1 callersFunctionhash2
(astring, tablesize)
Hash.py:16
↓ 1 callersFunctionheapSort
(alist)
heapSort.py:1
↓ 1 callersFunctionhotPotato
(namelist, num)
Queue.py:23
↓ 1 callersMethodinOrder
(self, pRoot)
Target Offer/二叉搜索树的第k个结点.py:21
↓ 1 callersMethodinsertLeft
(self, newNode)
BinaryTree.py:7
↓ 1 callersMethodinsertRight
(self, newNode)
BinaryTree.py:15
↓ 1 callersFunctioninsertionSort
(alist)
InsertionSort.py:1
↓ 1 callersFunctioninsertionSort2
(alist)
InsertionSort.py:13
↓ 1 callersMethodisNumeric2
(self, s)
Target Offer/表示数值的字符串.py:42
↓ 1 callersFunctionisPrefix
(pattern, p)
AwesomeAlgorithms/BoyerMoore算法.py:68
↓ 1 callersMethodisSymmetrical
(self, pRoot)
Target Offer/对称的二叉树.py:13
↓ 1 callersMethodjumpFloor
(self, number)
Target Offer/斐波那契数列.py:15
↓ 1 callersMethodjumpFloorII
(self, number)
Target Offer/斐波那契数列.py:23
↓ 1 callersFunctionkmp
(str1, str2)
AwesomeAlgorithms/KMP算法.py:5
↓ 1 callersMethodlengthOfLIS
(self, nums)
leetcode/300. Longest Increasing Subsequence.py:17
↓ 1 callersMethodlengthOfLIS2
(self, nums)
leetcode/300. Longest Increasing Subsequence.py:32
↓ 1 callersMethodlengthOfLongestSubstring
(self, s)
leetcode/3. Longest Substring Without Repeating Characters.py:14
↓ 1 callersFunctionlistFactorial
(num)
Recursion.py:11
↓ 1 callersFunctionlistSum
(numlist)
Recursion.py:2
↓ 1 callersFunctionloadDataSet
(fileName)
SVM/SVM.py:3
↓ 1 callersMethodlongestCommonSubsequence
(self, A, B)
AwesomeAlgorithms/最长公共子序列LCS_DP问题.py:8
↓ 1 callersMethodlongestCommonSubstring
(self, A, B)
AwesomeAlgorithms/最长公共子串_DP问题.py:9
↓ 1 callersMethodlongestCommonSubstring2
(self, A, B)
AwesomeAlgorithms/最长公共子串_DP问题.py:25
↓ 1 callersMethodlongestPalindrome
(self, s)
leetcode/5. Longest Palindromic Substring.py:7
↓ 1 callersFunctionmake_trie
(words)
CheckErrorWord.py:8
↓ 1 callersFunctionmanacher
(s)
AwesomeAlgorithms/manacher算法.py:8
↓ 1 callersFunctionmatchDict
(aList)
AwesomeAlgorithms/Sunday算法.py:27
↓ 1 callersFunctionmatchTable
(aList)
AwesomeAlgorithms/KMP算法.py:27
↓ 1 callersFunctionmatches
(open, close)
Stack.py:75
↓ 1 callersFunctionmatrixMultiple
(matrixA, matrixB)
Target Offer/multiSparse.py:34
↓ 1 callersFunctionmatrixTrans
(matrix)
Target Offer/transSparseMatrix.py:35
↓ 1 callersFunctionmaxBag
(weight, value, totalWeight)
Dynamic Programming.py:29
↓ 1 callersMethodmaxInWindows
(self, num, size)
Target Offer/滑动窗口的最大值.py:11
↓ 1 callersFunctionmaxIndex
(alist, start, end)
divideAndConquer.py:5
↓ 1 callersMethodmaxSlidingWindow
(self, nums, k)
leetcode/239. Sliding Window Maximum.py:18
↓ 1 callersFunctionmergeSort
(alist)
MergeSort.py:1
↓ 1 callersMethodminChild
(self, i)
BinaryHeap.py:32
↓ 1 callersMethodmirrorPreOrder
(self, pRoot)
Target Offer/对称的二叉树.py:53
↓ 1 callersMethodmovingCount
(self, threshold, rows, cols)
Target Offer/机器人的运动范围.py:9
↓ 1 callersMethodmovingCountCore
(self, threshold, rows, cols, row, col, visited)
Target Offer/机器人的运动范围.py:14
↓ 1 callersFunctionmultiTest
()
Logistic regression/Logistic.py:106
↓ 1 callersFunctionmultiTriple
(tripleA, tripleB)
Target Offer/multiSparse.py:15
↓ 1 callersMethodmultiply
(self, A)
Target Offer/构建乘积数组.py:8
↓ 1 callersFunctionopenDoor
(n)
Target Offer/带锁的门.py:7
↓ 1 callersFunctionpartition
(alist, first, last)
QuickSort.py:13
↓ 1 callersMethodpeek
(self)
Stack.py:17
↓ 1 callersMethodpercUp
(self, i)
BinaryHeap.py:8
↓ 1 callersMethodpostOrder
(self, root)
Target Offer/递归和非递归实现二叉搜索树的三种遍历.py:52
↓ 1 callersFunctionpower
(base, x)
divideAndConquer.py:21
↓ 1 callersMethodpreOrder
(self, pRoot)
Target Offer/对称的二叉树.py:33
↓ 1 callersMethodprintLCS
(self, arr, A, B, lenA, lenB)
AwesomeAlgorithms/最长公共子序列LCS_DP问题.py:28
↓ 1 callersFunctionprintexp
(tree)
ParseTree.py:78
↓ 1 callersFunctionprod
(aList)
MapReduce_and_filter.py:17
↓ 1 callersMethodput
(self, key, val)
AVL.py:58
↓ 1 callersMethodput
(self, key, data)
Hash.py:32
↓ 1 callersMethodput
(self, key, val)
BinarySearchTree.py:58
↓ 1 callersMethodqueen
(self, alist)
Target Offer/八皇后问题.py:47
↓ 1 callersFunctionquickSortHelper
(alist, first, last)
QuickSort.py:6
↓ 1 callersFunctionradixSortLSD
(alist)
RadixSort.py:8
↓ 1 callersMethodreConnect
(self, first, second)
leetcode/143. Reorder List.py:47
↓ 1 callersMethodreConstructBinaryTree
(self, pre, tin)
Target Offer/重建二叉树.py:15
↓ 1 callersMethodrebalance
(self, node)
AVL.py:128
↓ 1 callersMethodremove
(self, currentNode)
AVL.py:231
↓ 1 callersMethodremove
(self, currentNode)
BinarySearchTree.py:166
↓ 1 callersMethodremoveFront
(self)
Queue.py:51
↓ 1 callersMethodremoveRear
(self)
Queue.py:54
↓ 1 callersMethodreplaceSpace1
(self, s)
Target Offer/替换空格.py:25
↓ 1 callersMethodreplaceSpace2
(self, s)
Target Offer/替换空格.py:38
↓ 1 callersMethodreplaceSpace3
(self, s)
Target Offer/替换空格.py:45
↓ 1 callersMethodreverseString
(self, s)
leetcode/344. Reverse String.py:9
↓ 1 callersMethodromanToInt
(self, s)
leetcode/13. Roman to Integer.py:10
↓ 1 callersMethodsearchMatrix
(self, matrix, target)
Target Offer/二维数组查找.py:51
↓ 1 callersFunctionselectJrand
(i, m)
SVM/SVM.py:13
↓ 1 callersFunctionselectionSort
(alist)
SelectionSort.py:2
↓ 1 callersMethodselfIsSymmetrical
(self, pRoot1, pRoot2)
Target Offer/对称的二叉树.py:15
↓ 1 callersMethodsetData
(self, newdata)
Lists.py:12
↓ 1 callersFunctionshellSort
(alist)
ShellSort.py:2
↓ 1 callersMethodsize
(self)
Queue.py:14
↓ 1 callersMethodsize
(self)
Queue.py:57
↓ 1 callersFunctionsmoSimple
(dataMatIn, classLabels, C, toler, maxIter)
SVM/SVM.py:26
↓ 1 callersFunctionsparseToTriple
(matrix)
Target Offer/transSparseMatrix.py:8
↓ 1 callersMethodspliceOut
(self)
AVL.py:191
↓ 1 callersMethodspliceOut
(self)
BinarySearchTree.py:126
↓ 1 callersMethodsuffixArray
(self, s)
AwesomeAlgorithms/最长公共子串_DP问题.py:43
↓ 1 callersFunctionsuffixLength
(pattern, p)
AwesomeAlgorithms/BoyerMoore算法.py:78
↓ 1 callersMethodsumN
(self, n)
Target Offer/求前n项和.py:16
↓ 1 callersMethodswapPairs
(self, head)
leetcode/24. Swap Nodes in Pairs.py:16
↓ 1 callersMethodthreeSum
(self, nums)
leetcode/15. 3Sum.py:13
↓ 1 callersFunctiontitle2
(s)
Target Offer/句子中单词首字母大写.py:23
↓ 1 callersFunctiontoStr
(n,base)
Recursion.py:20
↓ 1 callersFunctiontransTriple
(triple)
Target Offer/transSparseMatrix.py:17
↓ 1 callersFunctiontripleToSparse
(triple, m, n)
Target Offer/transSparseMatrix.py:26
← previousnext →201–300 of 495, ranked by callers