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
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
Function
aStarAlgorithm
(startRow, startCol, endRow, endCol, graph)
Very Hard/A-star-algorithm.py:16
Method
addChild
(self, name)
Medium/breadth-first-search.py:13
Method
addChild
(self, name)
Easy/depth-first-search.py:10
Function
airportConnections
(airports, routes, startingAirport)
Very Hard/airport-connections.py:5
Function
allKindsOfNodeDepths
(root)
Very Hard/all-kinds-of-node-depths.py:5
Function
ambiguousMeasurements
(measuringCups, low, high)
Hard/ambiguous-measurements.py:5
Function
apartmentHunting
(blocks, reqs)
Very Hard/apartment-hunting.py:5
Function
arrayOfProducts
(array)
Medium/array-of-products.py:5
Function
balancedBrackets
(string)
Medium/balanced-brackets.py:5
Function
binarySearch
(array, target)
Easy/binary-search.py:5
Function
binaryTreeDiameter
(tree)
Medium/binary-tree-diameter.py:12
Function
boggleBoard
(board, words)
Hard/boggle-board.py:5
Function
branchSums
(root)
Easy/branch-sums.py:17
Method
breadthFirstSearch
(self, array)
Medium/breadth-first-search.py:18
Function
bubbleSort
(array)
Easy/bubble-sort.py:5
Function
caesarCipherEncryptor
(string, key)
Easy/caesar-cipher-encryptor.py:5
Function
calendarMatching
(calendar1, dailyBounds1, calendar2, dailyBounds2, meetingDuration)
Very Hard/calendar-matching.py:5
Function
classPhotos
(redShirtHeights, blueShirtHeights)
Easy/class-photos.py:5
Function
compareLeafTraversal
(tree1, tree2)
Very Hard/compare-leaf-traversal.py:12
Method
contains
(self, value)
Medium/bst-construction.py:36
Method
contains
(self, string)
Medium/suffix-trie-construction.py:28
Method
containsNodeWithValue
(self, value)
Medium/linked-list-construction.py:107
Function
countInversions
(array)
Very Hard/count-inversions.py:5
Function
cycleInGraph
(edges)
Medium/cycle-in-graph.py:5
Function
degreesOfSeparation
(friendsLists, personOne, personTwo)
Medium/degrees-of-separation.py:5
Method
depthFirstSearch
(self, array)
Easy/depth-first-search.py:14
Function
detectArbitrage
(exchangeRates)
Very Hard/detect-arbitrage.py:7
Function
dijkstrasAlgorithm
(start, edges)
Hard/dijkstra-algorithm.py:5
Function
diskStacking
(disks)
Hard/disk-stacking.py:5
Function
findClosestValueInBst
(tree, target)
Easy/find-closest-value-in-BST.py:10
Function
findKthLargestValueInBst
(tree, k)
Medium/find-kth-largest-value-in-bst.py:12
Function
findLoop
(head)
Hard/find-loop.py:11
Function
findNodesDistanceK
(tree, target, k)
Hard/find-nodes-distance-k.py:12
Function
findSuccessor
(tree, node)
Medium/find-successor.py:14
Function
findThreeLargestNumbers
(array)
Easy/find-three-largest-numbers.py:5
Function
firstDuplicateValue
(array)
Medium/first-duplicate-value.py:5
Function
firstNonRepeatingCharacter
(string)
Easy/first-non-repeating-character.py:5
Function
flattenBinaryTree
(root)
Very Hard/flatten-binary-tree.py:12
Function
fourNumberSum
(array, targetSum)
Hard/four-number-sum.py:5
Function
generateDivTags
(numberOfTags)
Hard/generate-div-tags.py:5
Function
generateDocument
(characters, document)
Easy/generate-document.py:8
Function
getLowestCommonManager
(topManager, reportOne, reportTwo)
Hard/lowest-common-manager.py:5
Function
getMax
(self)
Medium/min-max-stack-construction.py:43
Method
getMedian
(self)
Hard/continuous-median.py:38
Function
getMin
(self)
Medium/min-max-stack-construction.py:38
Method
getMostRecentKey
(self)
Very Hard/LRU-cache.py:36
Function
getNthFib
(n)
Easy/nth-fibonacci.py:5
Function
getPermutations
(array)
Medium/permutations.py:5
Method
getValueFromKey
(self, key)
Very Hard/LRU-cache.py:28
Function
getYoungestCommonAncestor
(topAncestor, descendantOne, descendantTwo)
Medium/youngest-common-ancestor.py:11
Function
globMatching
(fileName, pattern)
Hard/glob-matching.py:5
Function
groupAnagrams
(words)
Medium/group-anagrams.py:4
Function
hasSingleCycle
(array)
Medium/single-cycle-check.py:5
Function
heapSort
(array)
Hard/heap-sort.py:5
Function
heightBalancedBinaryTree
(tree)
Medium/height-balanced-binary-tree.py:18
Function
inOrderTraverse
(tree, array)
Medium/bst-traversal.py:5
Function
indexEqualsValue
(array)
Hard/index-equals-value.py:5
Method
insert
(self, value)
Medium/bst-construction.py:14
Method
insert
(self, value)
Medium/min-heap-construction.py:66
Method
insert
(self, number)
Hard/continuous-median.py:15
← previous
next →
301–400 of 521, ranked by callers