MCPcopy Create free account

hub / github.com/das-jishu/algoexpert-data-structures-algorithms / functions

Functions521 in github.com/das-jishu/algoexpert-data-structures-algorithms

↓ 1 callersMethodbuildHeap
(self, array)
Hard/continuous-median.py:47
↓ 1 callersFunctionbuildLongestStringChain
(strings, stringChains)
Very Hard/longest-string-chain.py:63
↓ 1 callersFunctionbuildPattern
(substring)
Very Hard/knuth-morris-pratt-algorithm.py:10
↓ 1 callersFunctionbuildSequence
(knapsack, items)
Hard/knapsack-problem.py:25
↓ 1 callersFunctionbuildSequence
(array, sequences, currentIndex)
Hard/max-sum-increasing-subsequence.py:44
↓ 1 callersFunctionbuildSequence
(lcs)
Hard/longest-common-subsequence.py:63
↓ 1 callersMethodbuildTrie
(self, string)
Hard/special-strings.py:37
↓ 1 callersFunctioncalculateBranchSums
(root, currentSum, result)
Easy/branch-sums.py:23
↓ 1 callersFunctioncalculateFibonacci
(n, known)
Easy/nth-fibonacci.py:29
↓ 1 callersFunctioncalculateMaxSum
(totalSum, currentArray, sumArray, index)
Hard/max-sum-increasing-subsequence.py:9
↓ 1 callersFunctioncalculateNodeDepths
(root, currentDepth)
Easy/node-depths.py:9
↓ 1 callersFunctioncalculateNumberOfTopologies
(n, cache)
Very Hard/number-of-binary-tree-topologies.py:9
↓ 1 callersFunctioncalculateShortestPath
(edges, distances, currentVertex, visited)
Hard/dijkstra-algorithm.py:16
↓ 1 callersFunctioncalculateSize
(matrix, i, j)
Medium/river-sizes.py:14
↓ 1 callersFunctioncanMeasureInRange
(measuringCups, low, high, cache)
Hard/ambiguous-measurements.py:10
↓ 1 callersFunctionchangeConnectedBlacks
(matrix, i, j)
Medium/remove-islands.py:71
↓ 1 callersFunctioncheck
(one, two, three, indexOne, indexTwo, indexThree)
Hard/interweaving-strings.py:9
↓ 1 callersFunctioncheckAndUpdate
(array, num, largestNumbers)
Easy/find-three-largest-numbers.py:35
↓ 1 callersFunctioncheckPalindrome
(firstHalf, secondHalf)
Very Hard/linked-list-palindrome.py:41
↓ 1 callersFunctioncheckSpecial
(string, node, index, count, trie)
Hard/special-strings.py:17
↓ 1 callersFunctioncollapse
(locations)
Hard/underscorify-substring.py:51
↓ 1 callersFunctioncompareHeights
(height1, height2, direction)
Easy/class-photos.py:21
↓ 1 callersFunctioncompareSubstring
(string, start, substring)
Hard/underscorify-substring.py:29
↓ 1 callersMethodcontains
(self, string)
Hard/multi-string-search.py:56
↓ 1 callersFunctioncontainsNegative
(matrix)
Medium/minimum-passes-of-matrix.py:57
↓ 1 callersMethodcontainsNode
(self, node)
Very Hard/A-star-algorithm.py:172
↓ 1 callersFunctionconvertNegatives
(matrix)
Medium/minimum-passes-of-matrix.py:10
↓ 1 callersFunctionconvertToLogMatrix
(matrix)
Very Hard/detect-arbitrage.py:34
↓ 1 callersFunctioncountNodes
(tree)
Medium/find-kth-largest-value-in-bst.py:35
↓ 1 callersFunctioncountSubArrayInversions
(array, start, end)
Very Hard/count-inversions.py:9
↓ 1 callersFunctioncountingSort
(array, digit)
Hard/radix-sort.py:19
↓ 1 callersFunctioncreateAirportGraph
(airports, routes)
Very Hard/airport-connections.py:12
↓ 1 callersFunctioncreateJobGraph
(jobs, deps)
Hard/topological-sort.py:10
↓ 1 callersFunctioncreateKey
(rise, run)
Very Hard/line-through-points.py:28
↓ 1 callersFunctioncreateKey
(low, high)
Hard/ambiguous-measurements.py:34
↓ 1 callersFunctioncreatePointSet
(points)
Very Hard/minimum-area-rectangle.py:65
↓ 1 callersFunctioncreateSumMatrix
(matrix)
Hard/maximum-sum-submatrix.py:29
↓ 1 callersFunctiondecreaseCharCount
(char, charCounts)
Very Hard/smallest-substring-containing.py:61
↓ 1 callersFunctiondepthFirstAddUnreachableConnections
(airportGraph, airport, unreachableConnections, visitedAirports)
Very Hard/airport-connections.py:50
↓ 1 callersFunctiondepthFirstTraverse
(node, orderedJobs)
Hard/topological-sort.py:26
↓ 1 callersFunctiondepthFirstTraverseAirports
(airportGraph, airport, visitedAirports)
Very Hard/airport-connections.py:35
↓ 1 callersFunctiondivideLinkedList
(head)
Very Hard/linked-list-palindrome.py:15
↓ 1 callersFunctiondoesMatch
(string, substring, pattern)
Very Hard/knuth-morris-pratt-algorithm.py:25
↓ 1 callersMethodevictLeastRecent
(self)
Very Hard/LRU-cache.py:42
↓ 1 callersFunctionexplore
(i, j, board, trieNode, visited, finalWords)
Hard/boggle-board.py:50
↓ 1 callersFunctionfindDistanceFromNodeToTarget
(node, target, k, nodesDistanceK)
Hard/find-nodes-distance-k.py:75
↓ 1 callersFunctionfindHighestStack
(maxHeights, disks, index)
Hard/disk-stacking.py:21
↓ 1 callersFunctionfindLongestStringChain
(string, stringChains)
Very Hard/longest-string-chain.py:46
↓ 1 callersFunctionfindLowestCommonManager
(manager, reportOne, reportTwo)
Hard/lowest-common-manager.py:9
↓ 1 callersMethodfindMinChild
(self, n, array)
Medium/min-heap-construction.py:31
↓ 1 callersMethodfindMinChild
(self, n, array)
Hard/sort-k-sorted-array.py:65
↓ 1 callersFunctionfindMinDistanceFromBlock
(blocks, reqs, blockIdx)
Very Hard/apartment-hunting.py:16
↓ 1 callersFunctionfindNumber
(array, target, left, right)
Easy/binary-search.py:28
↓ 1 callersFunctionfindSmallStringsIn
(string, startIdx, trie, containedStrings)
Hard/multi-string-search.py:75
↓ 1 callersFunctionfindWord
(board, word, i, j, index)
Hard/boggle-board.py:21
↓ 1 callersFunctionflattenCalendar
(calendar)
Very Hard/calendar-matching.py:39
↓ 1 callersFunctionflattenTree
(node)
Very Hard/flatten-binary-tree.py:80
↓ 1 callersFunctionfoundNegativeWeightCycle
(graph, start)
Very Hard/detect-arbitrage.py:13
↓ 1 callersFunctiongenerateTags
(openCount, closeCount, current, result)
Hard/generate-div-tags.py:11
↓ 1 callersFunctiongetAdjacentPositions
(row, col, matrix)
Medium/minimum-passes-of-matrix.py:43
↓ 1 callersFunctiongetAllLocalMins
(array)
Hard/min-rewards.py:38
↓ 1 callersFunctiongetAllMnemonics
(phoneNumber, index, individualCodes)
Medium/phone-number-mnemonics.py:22
↓ 1 callersFunctiongetAllNeighbors
(matrix, i, j)
Medium/remove-islands.py:86
↓ 1 callersFunctiongetAllPositivePositions
(matrix)
Medium/minimum-passes-of-matrix.py:32
↓ 1 callersFunctiongetCharCounts
(string)
Very Hard/smallest-substring-containing.py:11
↓ 1 callersFunctiongetCloserBounds
(idx1, idx2, idx3, idx4)
Very Hard/smallest-substring-containing.py:47
↓ 1 callersFunctiongetCoordDirection
(coord1, coord2)
Very Hard/rectangle-mania.py:22
↓ 1 callersFunctiongetCountsAndFirstYPos
(pattern, counts)
Hard/pattern-matcher.py:44
↓ 1 callersFunctiongetGcd
(a, b)
Very Hard/line-through-points.py:40
↓ 1 callersFunctiongetIdxAtMinValue
(array)
Very Hard/apartment-hunting.py:56
↓ 1 callersFunctiongetLocations
(string, substring)
Hard/underscorify-substring.py:39
↓ 1 callersFunctiongetMatchingAvailabilities
(calendar, meetingDuration)
Very Hard/calendar-matching.py:53
↓ 1 callersFunctiongetMaxDistancesAtBlocks
(blocks, minDistancesFromBlocks)
Very Hard/apartment-hunting.py:49
↓ 1 callersFunctiongetMin
(smallest)
Very Hard/merge-sorted-arrays.py:24
↓ 1 callersMethodgetMin
(self)
Medium/bst-construction.py:48
↓ 1 callersFunctiongetMinDistances
(blocks, req)
Very Hard/apartment-hunting.py:36
↓ 1 callersFunctiongetMinNumberOfNewConnections
(airportGraph, unreachableAirportNodes)
Very Hard/airport-connections.py:61
↓ 1 callersFunctiongetMinTime
(currentVertex, parent, currentTime, arrivalTimes, edges)
Very Hard/two-edge-connected-graph.py:25
↓ 1 callersFunctiongetNeighboringNodes
(node, nodes)
Very Hard/A-star-algorithm.py:76
↓ 1 callersFunctiongetNeighbors
(i, j, board)
Hard/boggle-board.py:65
↓ 1 callersFunctiongetNewPattern
(pattern)
Hard/pattern-matcher.py:37
↓ 1 callersFunctiongetNextClockwiseDirection
(direction)
Very Hard/rectangle-mania.py:55
↓ 1 callersFunctiongetNextIndex
(currentIndex, array)
Medium/single-cycle-check.py:41
↓ 1 callersFunctiongetNodeFromValue
(value, tree, nodesToParents)
Hard/find-nodes-distance-k.py:44
↓ 1 callersFunctiongetNodesInOrder
(tree, array)
Very Hard/flatten-binary-tree.py:23
↓ 1 callersFunctiongetOrderedJobs
(graph)
Hard/topological-sort.py:16
↓ 1 callersFunctiongetRightSmallerCounts
(bst, rightSmallerCounts)
Very Hard/right-smaller-than.py:32
↓ 1 callersFunctiongetSlope
(p1, p2)
Very Hard/line-through-points.py:22
↓ 1 callersFunctiongetSmallerString
(string, index)
Very Hard/longest-string-chain.py:53
↓ 1 callersFunctiongetStringFromBounds
(string, bounds)
Very Hard/smallest-substring-containing.py:50
↓ 1 callersFunctiongetSubstringBounds
(string, targetCharCounts)
Very Hard/smallest-substring-containing.py:17
↓ 1 callersFunctiongetTaskIndices
(tasks)
Medium/task-assignment.py:36
↓ 1 callersFunctiongetTotalPlacements
(row, columns, board)
Very Hard/non-attacking-queens.py:10
↓ 1 callersFunctiongetTotalWays
(height, maxSteps, currentStep, cache)
Medium/staircase-traversal.py:9
↓ 1 callersFunctiongetTreeInfo
(tree)
Very Hard/all-kinds-of-node-depths.py:31
↓ 1 callersFunctiongetUnreachableAirportNodes
(airportGraph, airports, startingAirport)
Very Hard/airport-connections.py:21
↓ 1 callersFunctiongetUnvisited
(matrix, i, j, visited)
Medium/river-sizes.py:53
↓ 1 callersFunctionhasSquareOfZeroes
(infoMatrix, r1, c1, r2, c2, cache)
Very Hard/square-of-zeroes.py:37
↓ 1 callersFunctionheightBalancedHelper
(tree)
Medium/height-balanced-binary-tree.py:22
↓ 1 callersFunctioninitializeColumns
(points)
Very Hard/minimum-area-rectangle.py:29
← previousnext →101–200 of 521, ranked by callers