Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
Create free account
hub
/
github.com/das-jishu/algoexpert-data-structures-algorithms
/ functions
Functions
521 in github.com/das-jishu/algoexpert-data-structures-algorithms
⨍
Functions
521
◇
Types & classes
63
↓ 1 callers
Method
buildHeap
(self, array)
Hard/continuous-median.py:47
↓ 1 callers
Function
buildLongestStringChain
(strings, stringChains)
Very Hard/longest-string-chain.py:63
↓ 1 callers
Function
buildPattern
(substring)
Very Hard/knuth-morris-pratt-algorithm.py:10
↓ 1 callers
Function
buildSequence
(knapsack, items)
Hard/knapsack-problem.py:25
↓ 1 callers
Function
buildSequence
(array, sequences, currentIndex)
Hard/max-sum-increasing-subsequence.py:44
↓ 1 callers
Function
buildSequence
(lcs)
Hard/longest-common-subsequence.py:63
↓ 1 callers
Method
buildTrie
(self, string)
Hard/special-strings.py:37
↓ 1 callers
Function
calculateBranchSums
(root, currentSum, result)
Easy/branch-sums.py:23
↓ 1 callers
Function
calculateFibonacci
(n, known)
Easy/nth-fibonacci.py:29
↓ 1 callers
Function
calculateMaxSum
(totalSum, currentArray, sumArray, index)
Hard/max-sum-increasing-subsequence.py:9
↓ 1 callers
Function
calculateNodeDepths
(root, currentDepth)
Easy/node-depths.py:9
↓ 1 callers
Function
calculateNumberOfTopologies
(n, cache)
Very Hard/number-of-binary-tree-topologies.py:9
↓ 1 callers
Function
calculateShortestPath
(edges, distances, currentVertex, visited)
Hard/dijkstra-algorithm.py:16
↓ 1 callers
Function
calculateSize
(matrix, i, j)
Medium/river-sizes.py:14
↓ 1 callers
Function
canMeasureInRange
(measuringCups, low, high, cache)
Hard/ambiguous-measurements.py:10
↓ 1 callers
Function
changeConnectedBlacks
(matrix, i, j)
Medium/remove-islands.py:71
↓ 1 callers
Function
check
(one, two, three, indexOne, indexTwo, indexThree)
Hard/interweaving-strings.py:9
↓ 1 callers
Function
checkAndUpdate
(array, num, largestNumbers)
Easy/find-three-largest-numbers.py:35
↓ 1 callers
Function
checkPalindrome
(firstHalf, secondHalf)
Very Hard/linked-list-palindrome.py:41
↓ 1 callers
Function
checkSpecial
(string, node, index, count, trie)
Hard/special-strings.py:17
↓ 1 callers
Function
collapse
(locations)
Hard/underscorify-substring.py:51
↓ 1 callers
Function
compareHeights
(height1, height2, direction)
Easy/class-photos.py:21
↓ 1 callers
Function
compareSubstring
(string, start, substring)
Hard/underscorify-substring.py:29
↓ 1 callers
Method
contains
(self, string)
Hard/multi-string-search.py:56
↓ 1 callers
Function
containsNegative
(matrix)
Medium/minimum-passes-of-matrix.py:57
↓ 1 callers
Method
containsNode
(self, node)
Very Hard/A-star-algorithm.py:172
↓ 1 callers
Function
convertNegatives
(matrix)
Medium/minimum-passes-of-matrix.py:10
↓ 1 callers
Function
convertToLogMatrix
(matrix)
Very Hard/detect-arbitrage.py:34
↓ 1 callers
Function
countNodes
(tree)
Medium/find-kth-largest-value-in-bst.py:35
↓ 1 callers
Function
countSubArrayInversions
(array, start, end)
Very Hard/count-inversions.py:9
↓ 1 callers
Function
countingSort
(array, digit)
Hard/radix-sort.py:19
↓ 1 callers
Function
createAirportGraph
(airports, routes)
Very Hard/airport-connections.py:12
↓ 1 callers
Function
createJobGraph
(jobs, deps)
Hard/topological-sort.py:10
↓ 1 callers
Function
createKey
(rise, run)
Very Hard/line-through-points.py:28
↓ 1 callers
Function
createKey
(low, high)
Hard/ambiguous-measurements.py:34
↓ 1 callers
Function
createPointSet
(points)
Very Hard/minimum-area-rectangle.py:65
↓ 1 callers
Function
createSumMatrix
(matrix)
Hard/maximum-sum-submatrix.py:29
↓ 1 callers
Function
decreaseCharCount
(char, charCounts)
Very Hard/smallest-substring-containing.py:61
↓ 1 callers
Function
depthFirstAddUnreachableConnections
(airportGraph, airport, unreachableConnections, visitedAirports)
Very Hard/airport-connections.py:50
↓ 1 callers
Function
depthFirstTraverse
(node, orderedJobs)
Hard/topological-sort.py:26
↓ 1 callers
Function
depthFirstTraverseAirports
(airportGraph, airport, visitedAirports)
Very Hard/airport-connections.py:35
↓ 1 callers
Function
divideLinkedList
(head)
Very Hard/linked-list-palindrome.py:15
↓ 1 callers
Function
doesMatch
(string, substring, pattern)
Very Hard/knuth-morris-pratt-algorithm.py:25
↓ 1 callers
Method
evictLeastRecent
(self)
Very Hard/LRU-cache.py:42
↓ 1 callers
Function
explore
(i, j, board, trieNode, visited, finalWords)
Hard/boggle-board.py:50
↓ 1 callers
Function
findDistanceFromNodeToTarget
(node, target, k, nodesDistanceK)
Hard/find-nodes-distance-k.py:75
↓ 1 callers
Function
findHighestStack
(maxHeights, disks, index)
Hard/disk-stacking.py:21
↓ 1 callers
Function
findLongestStringChain
(string, stringChains)
Very Hard/longest-string-chain.py:46
↓ 1 callers
Function
findLowestCommonManager
(manager, reportOne, reportTwo)
Hard/lowest-common-manager.py:9
↓ 1 callers
Method
findMinChild
(self, n, array)
Medium/min-heap-construction.py:31
↓ 1 callers
Method
findMinChild
(self, n, array)
Hard/sort-k-sorted-array.py:65
↓ 1 callers
Function
findMinDistanceFromBlock
(blocks, reqs, blockIdx)
Very Hard/apartment-hunting.py:16
↓ 1 callers
Function
findNumber
(array, target, left, right)
Easy/binary-search.py:28
↓ 1 callers
Function
findSmallStringsIn
(string, startIdx, trie, containedStrings)
Hard/multi-string-search.py:75
↓ 1 callers
Function
findWord
(board, word, i, j, index)
Hard/boggle-board.py:21
↓ 1 callers
Function
flattenCalendar
(calendar)
Very Hard/calendar-matching.py:39
↓ 1 callers
Function
flattenTree
(node)
Very Hard/flatten-binary-tree.py:80
↓ 1 callers
Function
foundNegativeWeightCycle
(graph, start)
Very Hard/detect-arbitrage.py:13
↓ 1 callers
Function
generateTags
(openCount, closeCount, current, result)
Hard/generate-div-tags.py:11
↓ 1 callers
Function
getAdjacentPositions
(row, col, matrix)
Medium/minimum-passes-of-matrix.py:43
↓ 1 callers
Function
getAllLocalMins
(array)
Hard/min-rewards.py:38
↓ 1 callers
Function
getAllMnemonics
(phoneNumber, index, individualCodes)
Medium/phone-number-mnemonics.py:22
↓ 1 callers
Function
getAllNeighbors
(matrix, i, j)
Medium/remove-islands.py:86
↓ 1 callers
Function
getAllPositivePositions
(matrix)
Medium/minimum-passes-of-matrix.py:32
↓ 1 callers
Function
getCharCounts
(string)
Very Hard/smallest-substring-containing.py:11
↓ 1 callers
Function
getCloserBounds
(idx1, idx2, idx3, idx4)
Very Hard/smallest-substring-containing.py:47
↓ 1 callers
Function
getCoordDirection
(coord1, coord2)
Very Hard/rectangle-mania.py:22
↓ 1 callers
Function
getCountsAndFirstYPos
(pattern, counts)
Hard/pattern-matcher.py:44
↓ 1 callers
Function
getGcd
(a, b)
Very Hard/line-through-points.py:40
↓ 1 callers
Function
getIdxAtMinValue
(array)
Very Hard/apartment-hunting.py:56
↓ 1 callers
Function
getLocations
(string, substring)
Hard/underscorify-substring.py:39
↓ 1 callers
Function
getMatchingAvailabilities
(calendar, meetingDuration)
Very Hard/calendar-matching.py:53
↓ 1 callers
Function
getMaxDistancesAtBlocks
(blocks, minDistancesFromBlocks)
Very Hard/apartment-hunting.py:49
↓ 1 callers
Function
getMin
(smallest)
Very Hard/merge-sorted-arrays.py:24
↓ 1 callers
Method
getMin
(self)
Medium/bst-construction.py:48
↓ 1 callers
Function
getMinDistances
(blocks, req)
Very Hard/apartment-hunting.py:36
↓ 1 callers
Function
getMinNumberOfNewConnections
(airportGraph, unreachableAirportNodes)
Very Hard/airport-connections.py:61
↓ 1 callers
Function
getMinTime
(currentVertex, parent, currentTime, arrivalTimes, edges)
Very Hard/two-edge-connected-graph.py:25
↓ 1 callers
Function
getNeighboringNodes
(node, nodes)
Very Hard/A-star-algorithm.py:76
↓ 1 callers
Function
getNeighbors
(i, j, board)
Hard/boggle-board.py:65
↓ 1 callers
Function
getNewPattern
(pattern)
Hard/pattern-matcher.py:37
↓ 1 callers
Function
getNextClockwiseDirection
(direction)
Very Hard/rectangle-mania.py:55
↓ 1 callers
Function
getNextIndex
(currentIndex, array)
Medium/single-cycle-check.py:41
↓ 1 callers
Function
getNodeFromValue
(value, tree, nodesToParents)
Hard/find-nodes-distance-k.py:44
↓ 1 callers
Function
getNodesInOrder
(tree, array)
Very Hard/flatten-binary-tree.py:23
↓ 1 callers
Function
getOrderedJobs
(graph)
Hard/topological-sort.py:16
↓ 1 callers
Function
getRightSmallerCounts
(bst, rightSmallerCounts)
Very Hard/right-smaller-than.py:32
↓ 1 callers
Function
getSlope
(p1, p2)
Very Hard/line-through-points.py:22
↓ 1 callers
Function
getSmallerString
(string, index)
Very Hard/longest-string-chain.py:53
↓ 1 callers
Function
getStringFromBounds
(string, bounds)
Very Hard/smallest-substring-containing.py:50
↓ 1 callers
Function
getSubstringBounds
(string, targetCharCounts)
Very Hard/smallest-substring-containing.py:17
↓ 1 callers
Function
getTaskIndices
(tasks)
Medium/task-assignment.py:36
↓ 1 callers
Function
getTotalPlacements
(row, columns, board)
Very Hard/non-attacking-queens.py:10
↓ 1 callers
Function
getTotalWays
(height, maxSteps, currentStep, cache)
Medium/staircase-traversal.py:9
↓ 1 callers
Function
getTreeInfo
(tree)
Very Hard/all-kinds-of-node-depths.py:31
↓ 1 callers
Function
getUnreachableAirportNodes
(airportGraph, airports, startingAirport)
Very Hard/airport-connections.py:21
↓ 1 callers
Function
getUnvisited
(matrix, i, j, visited)
Medium/river-sizes.py:53
↓ 1 callers
Function
hasSquareOfZeroes
(infoMatrix, r1, c1, r2, c2, cache)
Very Hard/square-of-zeroes.py:37
↓ 1 callers
Function
heightBalancedHelper
(tree)
Medium/height-balanced-binary-tree.py:22
↓ 1 callers
Function
initializeColumns
(points)
Very Hard/minimum-area-rectangle.py:29
← previous
next →
101–200 of 521, ranked by callers