Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
Create free account
hub
/
github.com/Jack-Lee-Hiter/AlgorithmsByPython
/ functions
Functions
495 in github.com/Jack-Lee-Hiter/AlgorithmsByPython
⨍
Functions
495
◇
Types & classes
172
↓ 1 callers
Function
getdata
()
regularExpression/re练习.py:10
↓ 1 callers
Function
goodSuffixTable
(pattern)
AwesomeAlgorithms/BoyerMoore算法.py:52
↓ 1 callers
Method
hasAnyChildren
(self)
AVL.py:28
↓ 1 callers
Method
hasAnyChildren
(self)
BinarySearchTree.py:28
↓ 1 callers
Method
hasBothChildren
(self)
AVL.py:31
↓ 1 callers
Method
hasBothChildren
(self)
BinarySearchTree.py:31
↓ 1 callers
Method
hasPathCore
(self, matrix, rows, cols, row, col, path, pathLength, visited)
Target Offer/矩阵中的路径.py:23
↓ 1 callers
Function
hash
(astring, tablesize)
Hash.py:6
↓ 1 callers
Function
hash2
(astring, tablesize)
Hash.py:16
↓ 1 callers
Function
heapSort
(alist)
heapSort.py:1
↓ 1 callers
Function
hotPotato
(namelist, num)
Queue.py:23
↓ 1 callers
Method
inOrder
(self, pRoot)
Target Offer/二叉搜索树的第k个结点.py:21
↓ 1 callers
Method
insertLeft
(self, newNode)
BinaryTree.py:7
↓ 1 callers
Method
insertRight
(self, newNode)
BinaryTree.py:15
↓ 1 callers
Function
insertionSort
(alist)
InsertionSort.py:1
↓ 1 callers
Function
insertionSort2
(alist)
InsertionSort.py:13
↓ 1 callers
Method
isNumeric2
(self, s)
Target Offer/表示数值的字符串.py:42
↓ 1 callers
Function
isPrefix
(pattern, p)
AwesomeAlgorithms/BoyerMoore算法.py:68
↓ 1 callers
Method
isSymmetrical
(self, pRoot)
Target Offer/对称的二叉树.py:13
↓ 1 callers
Method
jumpFloor
(self, number)
Target Offer/斐波那契数列.py:15
↓ 1 callers
Method
jumpFloorII
(self, number)
Target Offer/斐波那契数列.py:23
↓ 1 callers
Function
kmp
(str1, str2)
AwesomeAlgorithms/KMP算法.py:5
↓ 1 callers
Method
lengthOfLIS
(self, nums)
leetcode/300. Longest Increasing Subsequence.py:17
↓ 1 callers
Method
lengthOfLIS2
(self, nums)
leetcode/300. Longest Increasing Subsequence.py:32
↓ 1 callers
Method
lengthOfLongestSubstring
(self, s)
leetcode/3. Longest Substring Without Repeating Characters.py:14
↓ 1 callers
Function
listFactorial
(num)
Recursion.py:11
↓ 1 callers
Function
listSum
(numlist)
Recursion.py:2
↓ 1 callers
Function
loadDataSet
(fileName)
SVM/SVM.py:3
↓ 1 callers
Method
longestCommonSubsequence
(self, A, B)
AwesomeAlgorithms/最长公共子序列LCS_DP问题.py:8
↓ 1 callers
Method
longestCommonSubstring
(self, A, B)
AwesomeAlgorithms/最长公共子串_DP问题.py:9
↓ 1 callers
Method
longestCommonSubstring2
(self, A, B)
AwesomeAlgorithms/最长公共子串_DP问题.py:25
↓ 1 callers
Method
longestPalindrome
(self, s)
leetcode/5. Longest Palindromic Substring.py:7
↓ 1 callers
Function
make_trie
(words)
CheckErrorWord.py:8
↓ 1 callers
Function
manacher
(s)
AwesomeAlgorithms/manacher算法.py:8
↓ 1 callers
Function
matchDict
(aList)
AwesomeAlgorithms/Sunday算法.py:27
↓ 1 callers
Function
matchTable
(aList)
AwesomeAlgorithms/KMP算法.py:27
↓ 1 callers
Function
matches
(open, close)
Stack.py:75
↓ 1 callers
Function
matrixMultiple
(matrixA, matrixB)
Target Offer/multiSparse.py:34
↓ 1 callers
Function
matrixTrans
(matrix)
Target Offer/transSparseMatrix.py:35
↓ 1 callers
Function
maxBag
(weight, value, totalWeight)
Dynamic Programming.py:29
↓ 1 callers
Method
maxInWindows
(self, num, size)
Target Offer/滑动窗口的最大值.py:11
↓ 1 callers
Function
maxIndex
(alist, start, end)
divideAndConquer.py:5
↓ 1 callers
Method
maxSlidingWindow
(self, nums, k)
leetcode/239. Sliding Window Maximum.py:18
↓ 1 callers
Function
mergeSort
(alist)
MergeSort.py:1
↓ 1 callers
Method
minChild
(self, i)
BinaryHeap.py:32
↓ 1 callers
Method
mirrorPreOrder
(self, pRoot)
Target Offer/对称的二叉树.py:53
↓ 1 callers
Method
movingCount
(self, threshold, rows, cols)
Target Offer/机器人的运动范围.py:9
↓ 1 callers
Method
movingCountCore
(self, threshold, rows, cols, row, col, visited)
Target Offer/机器人的运动范围.py:14
↓ 1 callers
Function
multiTest
()
Logistic regression/Logistic.py:106
↓ 1 callers
Function
multiTriple
(tripleA, tripleB)
Target Offer/multiSparse.py:15
↓ 1 callers
Method
multiply
(self, A)
Target Offer/构建乘积数组.py:8
↓ 1 callers
Function
openDoor
(n)
Target Offer/带锁的门.py:7
↓ 1 callers
Function
partition
(alist, first, last)
QuickSort.py:13
↓ 1 callers
Method
peek
(self)
Stack.py:17
↓ 1 callers
Method
percUp
(self, i)
BinaryHeap.py:8
↓ 1 callers
Method
postOrder
(self, root)
Target Offer/递归和非递归实现二叉搜索树的三种遍历.py:52
↓ 1 callers
Function
power
(base, x)
divideAndConquer.py:21
↓ 1 callers
Method
preOrder
(self, pRoot)
Target Offer/对称的二叉树.py:33
↓ 1 callers
Method
printLCS
(self, arr, A, B, lenA, lenB)
AwesomeAlgorithms/最长公共子序列LCS_DP问题.py:28
↓ 1 callers
Function
printexp
(tree)
ParseTree.py:78
↓ 1 callers
Function
prod
(aList)
MapReduce_and_filter.py:17
↓ 1 callers
Method
put
(self, key, val)
AVL.py:58
↓ 1 callers
Method
put
(self, key, data)
Hash.py:32
↓ 1 callers
Method
put
(self, key, val)
BinarySearchTree.py:58
↓ 1 callers
Method
queen
(self, alist)
Target Offer/八皇后问题.py:47
↓ 1 callers
Function
quickSortHelper
(alist, first, last)
QuickSort.py:6
↓ 1 callers
Function
radixSortLSD
(alist)
RadixSort.py:8
↓ 1 callers
Method
reConnect
(self, first, second)
leetcode/143. Reorder List.py:47
↓ 1 callers
Method
reConstructBinaryTree
(self, pre, tin)
Target Offer/重建二叉树.py:15
↓ 1 callers
Method
rebalance
(self, node)
AVL.py:128
↓ 1 callers
Method
remove
(self, currentNode)
AVL.py:231
↓ 1 callers
Method
remove
(self, currentNode)
BinarySearchTree.py:166
↓ 1 callers
Method
removeFront
(self)
Queue.py:51
↓ 1 callers
Method
removeRear
(self)
Queue.py:54
↓ 1 callers
Method
replaceSpace1
(self, s)
Target Offer/替换空格.py:25
↓ 1 callers
Method
replaceSpace2
(self, s)
Target Offer/替换空格.py:38
↓ 1 callers
Method
replaceSpace3
(self, s)
Target Offer/替换空格.py:45
↓ 1 callers
Method
reverseString
(self, s)
leetcode/344. Reverse String.py:9
↓ 1 callers
Method
romanToInt
(self, s)
leetcode/13. Roman to Integer.py:10
↓ 1 callers
Method
searchMatrix
(self, matrix, target)
Target Offer/二维数组查找.py:51
↓ 1 callers
Function
selectJrand
(i, m)
SVM/SVM.py:13
↓ 1 callers
Function
selectionSort
(alist)
SelectionSort.py:2
↓ 1 callers
Method
selfIsSymmetrical
(self, pRoot1, pRoot2)
Target Offer/对称的二叉树.py:15
↓ 1 callers
Method
setData
(self, newdata)
Lists.py:12
↓ 1 callers
Function
shellSort
(alist)
ShellSort.py:2
↓ 1 callers
Method
size
(self)
Queue.py:14
↓ 1 callers
Method
size
(self)
Queue.py:57
↓ 1 callers
Function
smoSimple
(dataMatIn, classLabels, C, toler, maxIter)
SVM/SVM.py:26
↓ 1 callers
Function
sparseToTriple
(matrix)
Target Offer/transSparseMatrix.py:8
↓ 1 callers
Method
spliceOut
(self)
AVL.py:191
↓ 1 callers
Method
spliceOut
(self)
BinarySearchTree.py:126
↓ 1 callers
Method
suffixArray
(self, s)
AwesomeAlgorithms/最长公共子串_DP问题.py:43
↓ 1 callers
Function
suffixLength
(pattern, p)
AwesomeAlgorithms/BoyerMoore算法.py:78
↓ 1 callers
Method
sumN
(self, n)
Target Offer/求前n项和.py:16
↓ 1 callers
Method
swapPairs
(self, head)
leetcode/24. Swap Nodes in Pairs.py:16
↓ 1 callers
Method
threeSum
(self, nums)
leetcode/15. 3Sum.py:13
↓ 1 callers
Function
title2
(s)
Target Offer/句子中单词首字母大写.py:23
↓ 1 callers
Function
toStr
(n,base)
Recursion.py:20
↓ 1 callers
Function
transTriple
(triple)
Target Offer/transSparseMatrix.py:17
↓ 1 callers
Function
tripleToSparse
(triple, m, n)
Target Offer/transSparseMatrix.py:26
← previous
next →
201–300 of 495, ranked by callers