MCPcopy Create free account

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

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

Method__init__
(self, value)
Easy/node-depths.py:18
Method__init__
(self, value)
Easy/find-closest-value-in-BST.py:33
Method__init__
(self, value)
Easy/branch-sums.py:11
Method__init__
(self, value, left=None, right=None)
Very Hard/right-sibling-tree.py:6
Method__init__
(self, value, left=None, right=None)
Very Hard/compare-leaf-traversal.py:6
Method__init__
(self, airport)
Very Hard/airport-connections.py:74
Method__init__
(self, row, col, value)
Very Hard/A-star-algorithm.py:5
Method__init__
(self, array)
Very Hard/A-star-algorithm.py:113
Method__init__
(self, value)
Very Hard/linked-list-palindrome.py:4
Method__init__
(self, maxSize)
Very Hard/LRU-cache.py:8
Method__init__
(self)
Very Hard/LRU-cache.py:57
Method__init__
(self, key, value)
Very Hard/LRU-cache.py:90
Method__init__
(self, array)
Very Hard/merge-sorted-arrays.py:53
Method__init__
(self, value)
Very Hard/node-swap.py:6
Method__init__
(self, value, idx, numSmallerAtInsertTime)
Very Hard/right-smaller-than.py:40
Method__init__
(self, value)
Very Hard/zip-linked-list.py:6
Method__init__
(self, value, left=None, right=None)
Very Hard/flatten-binary-tree.py:6
Method__init__
(self, value)
Very Hard/rearrange-linked-list.py:6
Method__init__
(self, value)
Very Hard/all-kinds-of-node-depths.py:21
Method__init__
(self, numNodesInTree, sumOfDepths, sumOfAllDepths)
Very Hard/all-kinds-of-node-depths.py:48
Method__init__
(self)
Hard/max-path-sum-binary-trees.py:28
Method__init__
(self)
Hard/boggle-board.py:86
Method__init__
(self, value)
Hard/inverted-bisection.py:6
Method__init__
(self, array)
Hard/sort-k-sorted-array.py:41
Method__init__
(self)
Hard/special-strings.py:33
Method__init__
(self, value, left=None, right=None)
Hard/validate-three-nodes.py:6
Method__init__
(self, array)
Hard/laptop-rentals.py:44
Method__init__
(self, array)
Hard/dijkstra-algorithm.py:99
Method__init__
(self, lcm, reports)
Hard/lowest-common-manager.py:24
Method__init__
(self, name)
Hard/lowest-common-manager.py:30
Method__init__
(self, value, left=None, right=None)
Hard/find-nodes-distance-k.py:6
Method__init__
(self, value)
Hard/shift-linked-list.py:36
Method__init__
(self, value)
Hard/find-loop.py:6
Method__init__
(self)
Hard/continuous-median.py:8
Method__init__
(self, comparisonFunc, array)
Hard/continuous-median.py:42
Method__init__
(self, jobs)
Hard/topological-sort.py:42
Method__init__
(self, job)
Hard/topological-sort.py:63
Method__init__
(self, value)
Hard/merge-linked-list.py:6
Method__init__
(self, string)
Hard/multi-string-search.py:40
Method__init__
(self)
Hard/multi-string-search.py:86
FunctionaStarAlgorithm
(startRow, startCol, endRow, endCol, graph)
Very Hard/A-star-algorithm.py:16
MethodaddChild
(self, name)
Medium/breadth-first-search.py:13
MethodaddChild
(self, name)
Easy/depth-first-search.py:10
FunctionairportConnections
(airports, routes, startingAirport)
Very Hard/airport-connections.py:5
FunctionallKindsOfNodeDepths
(root)
Very Hard/all-kinds-of-node-depths.py:5
FunctionambiguousMeasurements
(measuringCups, low, high)
Hard/ambiguous-measurements.py:5
FunctionapartmentHunting
(blocks, reqs)
Very Hard/apartment-hunting.py:5
FunctionarrayOfProducts
(array)
Medium/array-of-products.py:5
FunctionbalancedBrackets
(string)
Medium/balanced-brackets.py:5
FunctionbinarySearch
(array, target)
Easy/binary-search.py:5
FunctionbinaryTreeDiameter
(tree)
Medium/binary-tree-diameter.py:12
FunctionboggleBoard
(board, words)
Hard/boggle-board.py:5
FunctionbranchSums
(root)
Easy/branch-sums.py:17
MethodbreadthFirstSearch
(self, array)
Medium/breadth-first-search.py:18
FunctionbubbleSort
(array)
Easy/bubble-sort.py:5
FunctioncaesarCipherEncryptor
(string, key)
Easy/caesar-cipher-encryptor.py:5
FunctioncalendarMatching
(calendar1, dailyBounds1, calendar2, dailyBounds2, meetingDuration)
Very Hard/calendar-matching.py:5
FunctionclassPhotos
(redShirtHeights, blueShirtHeights)
Easy/class-photos.py:5
FunctioncompareLeafTraversal
(tree1, tree2)
Very Hard/compare-leaf-traversal.py:12
Methodcontains
(self, value)
Medium/bst-construction.py:36
Methodcontains
(self, string)
Medium/suffix-trie-construction.py:28
MethodcontainsNodeWithValue
(self, value)
Medium/linked-list-construction.py:107
FunctioncountInversions
(array)
Very Hard/count-inversions.py:5
FunctioncycleInGraph
(edges)
Medium/cycle-in-graph.py:5
FunctiondegreesOfSeparation
(friendsLists, personOne, personTwo)
Medium/degrees-of-separation.py:5
MethoddepthFirstSearch
(self, array)
Easy/depth-first-search.py:14
FunctiondetectArbitrage
(exchangeRates)
Very Hard/detect-arbitrage.py:7
FunctiondijkstrasAlgorithm
(start, edges)
Hard/dijkstra-algorithm.py:5
FunctiondiskStacking
(disks)
Hard/disk-stacking.py:5
FunctionfindClosestValueInBst
(tree, target)
Easy/find-closest-value-in-BST.py:10
FunctionfindKthLargestValueInBst
(tree, k)
Medium/find-kth-largest-value-in-bst.py:12
FunctionfindLoop
(head)
Hard/find-loop.py:11
FunctionfindNodesDistanceK
(tree, target, k)
Hard/find-nodes-distance-k.py:12
FunctionfindSuccessor
(tree, node)
Medium/find-successor.py:14
FunctionfindThreeLargestNumbers
(array)
Easy/find-three-largest-numbers.py:5
FunctionfirstDuplicateValue
(array)
Medium/first-duplicate-value.py:5
FunctionfirstNonRepeatingCharacter
(string)
Easy/first-non-repeating-character.py:5
FunctionflattenBinaryTree
(root)
Very Hard/flatten-binary-tree.py:12
FunctionfourNumberSum
(array, targetSum)
Hard/four-number-sum.py:5
FunctiongenerateDivTags
(numberOfTags)
Hard/generate-div-tags.py:5
FunctiongenerateDocument
(characters, document)
Easy/generate-document.py:8
FunctiongetLowestCommonManager
(topManager, reportOne, reportTwo)
Hard/lowest-common-manager.py:5
FunctiongetMax
(self)
Medium/min-max-stack-construction.py:43
MethodgetMedian
(self)
Hard/continuous-median.py:38
FunctiongetMin
(self)
Medium/min-max-stack-construction.py:38
MethodgetMostRecentKey
(self)
Very Hard/LRU-cache.py:36
FunctiongetNthFib
(n)
Easy/nth-fibonacci.py:5
FunctiongetPermutations
(array)
Medium/permutations.py:5
MethodgetValueFromKey
(self, key)
Very Hard/LRU-cache.py:28
FunctiongetYoungestCommonAncestor
(topAncestor, descendantOne, descendantTwo)
Medium/youngest-common-ancestor.py:11
FunctionglobMatching
(fileName, pattern)
Hard/glob-matching.py:5
FunctiongroupAnagrams
(words)
Medium/group-anagrams.py:4
FunctionhasSingleCycle
(array)
Medium/single-cycle-check.py:5
FunctionheapSort
(array)
Hard/heap-sort.py:5
FunctionheightBalancedBinaryTree
(tree)
Medium/height-balanced-binary-tree.py:18
FunctioninOrderTraverse
(tree, array)
Medium/bst-traversal.py:5
FunctionindexEqualsValue
(array)
Hard/index-equals-value.py:5
Methodinsert
(self, value)
Medium/bst-construction.py:14
Methodinsert
(self, value)
Medium/min-heap-construction.py:66
Methodinsert
(self, number)
Hard/continuous-median.py:15
← previousnext →301–400 of 521, ranked by callers