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
↓ 43 callers
Method
group
(self, ss)
Target Offer/字符串的排列和组合.py:30
↓ 42 callers
Method
match
(self, s, pattern)
Target Offer/正则表达式匹配.py:11
↓ 30 callers
Method
pop
(self)
Target Offer/用两个栈实现队列.py:12
↓ 26 callers
Method
pop
(self)
Stack.py:14
↓ 11 callers
Method
split
(self, head)
leetcode/143. Reorder List.py:26
↓ 10 callers
Method
insert
(self, k)
BinaryHeap.py:17
↓ 9 callers
Method
push
(self, item)
Stack.py:11
↓ 8 callers
Method
isLeftChild
(self)
AVL.py:16
↓ 7 callers
Method
getRootVal
(self)
BinaryTree.py:32
↓ 7 callers
Method
isEmpty
(self)
Stack.py:8
↓ 6 callers
Method
Find
(self, array, target)
Target Offer/二维数组查找.py:21
↓ 6 callers
Method
add
(self, item)
Lists.py:31
↓ 6 callers
Method
getLeftChild
(self)
BinaryTree.py:26
↓ 6 callers
Method
getNext
(self)
Lists.py:9
↓ 6 callers
Method
getRightChild
(self)
BinaryTree.py:23
↓ 6 callers
Method
isLeftChild
(self)
BinarySearchTree.py:16
↓ 6 callers
Method
minNumberInRotateArray
(self, rotateArray)
Target Offer/旋转数组的最小数字.py:10
↓ 5 callers
Method
enqueue
(self, item)
Queue.py:8
↓ 5 callers
Method
hasLeftChild
(self)
AVL.py:10
↓ 5 callers
Method
hasLeftChild
(self)
BinarySearchTree.py:10
↓ 5 callers
Method
min
(self)
Target Offer/包含min函数的栈.py:26
↓ 5 callers
Method
numTrees
(self, n)
AwesomeAlgorithms/CatalanNumber.py:11
↓ 5 callers
Method
pop
(self)
Target Offer/用两个队列实现栈.py:14
↓ 4 callers
Method
DeleteNode
(self, pListHead, pToBeDeleted)
Target Offer/在O(1)时间内删除链表结点.py:13
↓ 4 callers
Method
__del__
(self)
Target Offer/在O(1)时间内删除链表结点.py:8
↓ 4 callers
Method
dequeue
(self)
Queue.py:11
↓ 4 callers
Method
isRightChild
(self)
AVL.py:19
↓ 4 callers
Method
push
(self, node)
Target Offer/包含min函数的栈.py:10
↓ 4 callers
Method
push
(self, node)
Target Offer/用两个栈实现队列.py:10
↓ 4 callers
Method
push
(self, x)
Target Offer/用两个队列实现栈.py:9
↓ 4 callers
Method
reverse
(self, head)
leetcode/143. Reorder List.py:37
↓ 4 callers
Method
search
(self, item)
Lists.py:44
↓ 4 callers
Function
sigmoid
(inX)
Logistic regression/Logistic.py:13
↓ 3 callers
Method
ExOr
(self, aList)
Target Offer/数组中只出现一次的数字.py:55
↓ 3 callers
Method
MoreThanHalfNum
(self, numbers)
Target Offer/数组中出现次数超过一半的数字.py:73
↓ 3 callers
Method
Partition
(self, numbers, length, start, end)
Target Offer/最小的k个数.py:26
↓ 3 callers
Method
Partition
(self, numbers, length, start, end)
Target Offer/数组中出现次数超过一半的数字.py:32
↓ 3 callers
Method
Reverse
(self, alist)
Target Offer/翻转单词顺序.py:43
↓ 3 callers
Method
Reverse
(self, alist)
Target Offer/字符串的左旋转.py:21
↓ 3 callers
Method
VerifySquenceOfBST
(self, sequence)
Target Offer/二叉搜索树的后续遍历序列.py:10
↓ 3 callers
Method
_get
(self, key, currentNode)
AVL.py:155
↓ 3 callers
Method
_get
(self, key, currentNode)
BinarySearchTree.py:90
↓ 3 callers
Method
factorial
(self, n)
AwesomeAlgorithms/CatalanNumber.py:17
↓ 3 callers
Method
get
(self, key)
Hash.py:62
↓ 3 callers
Method
hasRightChild
(self)
AVL.py:13
↓ 3 callers
Method
hasRightChild
(self)
BinarySearchTree.py:13
↓ 3 callers
Method
printListFromTailToHead
(self, listNode)
Target Offer/反向打印链表.py:10
↓ 3 callers
Method
printMatrix
(self, matrix)
Target Offer/顺时针打印矩阵.py:14
↓ 3 callers
Method
rehash
(self, oldhash, size)
Hash.py:59
↓ 3 callers
Method
rotateLeft
(self, rotRoot)
AVL.py:92
↓ 3 callers
Method
rotateRight
(self, rotRoot)
AVL.py:110
↓ 3 callers
Method
scanDigit
(self, alist)
Target Offer/表示数值的字符串.py:27
↓ 2 callers
Method
CheckMoreThanHalf
(self, numbers, length, number)
Target Offer/数组中出现次数超过一半的数字.py:63
↓ 2 callers
Method
GetLeastNumbers
(self, tinput, k)
Target Offer/最小的k个数.py:51
↓ 2 callers
Method
GetListLength
(self, pHead)
Target Offer/两个链表的第一个公共结点.py:33
↓ 2 callers
Method
MaxHeap
(self, alist)
Target Offer/数据流中的中位数.py:33
↓ 2 callers
Method
Mergesort
(self, aList, axis)
Target Offer/分治法解决最近对问题.py:15
↓ 2 callers
Method
MinHeap
(self, alist)
Target Offer/数据流中的中位数.py:51
↓ 2 callers
Method
Print
(self, pRoot)
Target Offer/按之字形顺序打印二叉树.py:14
↓ 2 callers
Function
PrintNumber
(number)
Target Offer/打印1到最大的n位数.py:37
↓ 2 callers
Method
ReverseList
(self, pHead)
Target Offer/反转链表.py:13
↓ 2 callers
Method
Sum_Solution
(self, n)
Target Offer/求前n项和.py:9
↓ 2 callers
Function
bubbleSort
(alist)
BubbleSort.py:2
↓ 2 callers
Function
check_fuzzy
(trie, word, path='', tol=1)
CheckErrorWord.py:24
↓ 2 callers
Function
convertString
(string)
Target Offer/转换字符串格式.py:6
↓ 2 callers
Method
getData
(self)
Lists.py:6
↓ 2 callers
Method
getDepth
(self, pRoot)
Target Offer/判断平衡二叉树.py:19
↓ 2 callers
Method
getDepth
(self, pRoot)
Target Offer/判断平衡二叉树.py:30
↓ 2 callers
Method
getDigitSum
(self, number)
Target Offer/机器人的运动范围.py:29
↓ 2 callers
Method
hasPath
(self, matrix, rows, cols, path)
Target Offer/矩阵中的路径.py:11
↓ 2 callers
Method
hashfunction
(self, key, size)
Hash.py:56
↓ 2 callers
Method
invertTree
(self, root)
leetcode/226. Invert Binary Tree.py:26
↓ 2 callers
Method
isLeaf
(self)
AVL.py:25
↓ 2 callers
Method
isLeaf
(self)
BinarySearchTree.py:25
↓ 2 callers
Method
isRightChild
(self)
BinarySearchTree.py:19
↓ 2 callers
Method
isRoot
(self)
AVL.py:22
↓ 2 callers
Function
loadDataSet
()
Logistic regression/Logistic.py:4
↓ 2 callers
Function
maxStr
(string)
Target Offer/找出字符串中重复出现的最长子串.py:6
↓ 2 callers
Function
palcheker
(aString)
Queue.py:61
↓ 2 callers
Method
pathSum
(self, root, sum)
Target Offer/二叉树中和为某一值的路径.py:33
↓ 2 callers
Method
percDown
(self, i)
BinaryHeap.py:23
↓ 2 callers
Method
pop
(self)
Target Offer/包含min函数的栈.py:18
↓ 2 callers
Method
powerOf2
(self, n)
Target Offer/二进制中1的个数.py:23
↓ 2 callers
Function
quickSort
(alist)
QuickSort.py:3
↓ 2 callers
Method
remove
(self, item)
Lists.py:54
↓ 2 callers
Method
replaceNodeData
(self, key, value, lc, rc)
AVL.py:34
↓ 2 callers
Method
replaceNodeData
(self, key, value, lc, rc)
BinarySearchTree.py:34
↓ 2 callers
Method
setNext
(self, nextNode)
Lists.py:15
↓ 2 callers
Method
setRootVal
(self, obj)
BinaryTree.py:29
↓ 2 callers
Function
sparseToTriple
(matrix)
Target Offer/multiSparse.py:6
↓ 2 callers
Function
stocGradAscent1
(dataMatrix, classLabels, numIter=150)
Logistic regression/Logistic.py:39
↓ 2 callers
Method
storeNodes
(self, root, targetNode)
Target Offer/二叉树的最低公共祖先.py:37
↓ 2 callers
Method
updateBalance
(self, node)
AVL.py:79
↓ 1 callers
Function
BoyerMoore
(original, pattern)
AwesomeAlgorithms/BoyerMoore算法.py:5
↓ 1 callers
Function
ChangeMaking
(coinVal, change)
Dynamic Programming.py:4
↓ 1 callers
Method
CheckInvalidArray
(self, numbers, length)
Target Offer/数组中出现次数超过一半的数字.py:57
↓ 1 callers
Method
Clone
(self, pHead)
Target Offer/复杂链表的复制.py:14
↓ 1 callers
Method
CloneNodes
(self, pHead)
Target Offer/复杂链表的复制.py:21
↓ 1 callers
Method
ClosestPair
(self, xList, yList)
Target Offer/分治法解决最近对问题.py:40
↓ 1 callers
Method
ConnectRandomNodes
(self, pHead)
Target Offer/复杂链表的复制.py:33
next →
1–100 of 495, ranked by callers