Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
Create free account
hub
/
github.com/coding-minutes/dsa-levelUp-solutions-cpp
/ functions
Functions
143 in github.com/coding-minutes/dsa-levelUp-solutions-cpp
⨍
Functions
143
◇
Types & classes
26
↓ 7 callers
Method
push
Section 12 - priority queue/runningMeadianClass.cpp:12
↓ 5 callers
Method
insert
Section 14 - tries and pattern/minimumXorPair.cpp:20
↓ 3 callers
Function
printAtLevelK
Section 10 - binary trees/sortedNodesAtDistanceK.cpp:20
↓ 2 callers
Method
getRoot
Section 14 - tries and pattern/prateekBhayia&GooglyStrings.cpp:24
↓ 2 callers
Function
search
finding the level of a given node from the root node/any given node
Section 11 - binary search tree/shortestTreePath.cpp:43
↓ 2 callers
Function
sum
Section 07 - recursion/gameOfCoinsAdvanced.cpp:4
↓ 1 callers
Method
addEdge
Section 15 - graphs/snakes&LadderGames.cpp:15
↓ 1 callers
Method
addEdge
Section 15 - graphs/astranautPairs.cpp:16
↓ 1 callers
Method
addEdge
Section 15 - graphs/cycleDetection2DirectedGraph.cpp:16
↓ 1 callers
Method
addEdge
Section 15 - graphs/cycleDetection1UndirectedGraph.cpp:15
↓ 1 callers
Method
addWord
Section 14 - tries and pattern/phoneNumberSearch.cpp:29
↓ 1 callers
Method
addWord
Section 14 - tries and pattern/prateekBhayia&GooglyStrings.cpp:28
↓ 1 callers
Function
calc
Section 07 - recursion/gameOfCoinsAdvanced.cpp:11
↓ 1 callers
Function
calc
Section 07 - recursion/ratInAMaze.cpp:6
↓ 1 callers
Function
coinChange
Section 17 - dp 2D/coinChange2.cpp:4
↓ 1 callers
Method
contains_cycle
Section 15 - graphs/cycleDetection2DirectedGraph.cpp:50
↓ 1 callers
Method
contains_cycle
Section 15 - graphs/cycleDetection1UndirectedGraph.cpp:48
↓ 1 callers
Method
countAstronauts
DFS - Depth First Search O(V+E) Linear
Section 15 - graphs/astranautPairs.cpp:35
↓ 1 callers
Function
dfs
Section 15 - graphs/graphSequence.cpp:5
↓ 1 callers
Function
dfs
Section 15 - graphs/largestIsland.cpp:4
↓ 1 callers
Function
divideAmongK
Section 06 - binary search/gameOfGreed.cpp:4
↓ 1 callers
Function
findPath
Section 07 - recursion/longestPossibleRoute.cpp:4
↓ 1 callers
Function
find_Permutations
Section 07 - recursion/sortedPermutation.cpp:5
↓ 1 callers
Function
game
Section 07 - recursion/gameOfCoins.cpp:4
↓ 1 callers
Function
game
Section 17 - dp 2D/gameOfWits.cpp:4
↓ 1 callers
Function
isBSTUtil
Section 11 - binary search tree/isBST.cpp:17
↓ 1 callers
Function
isPossible
Section 06 - binary search/readingBooks.cpp:4
↓ 1 callers
Function
isSafe
Section 07 - recursion/nQueen.cpp:7
↓ 1 callers
Function
isSpecial
Section 14 - tries and pattern/prateekBhayia&GooglyStrings.cpp:42
↓ 1 callers
Function
lca
Section 11 - binary search tree/shortestTreePath.cpp:17
↓ 1 callers
Function
leftViewUtil
Section 10 - binary trees/leftView.cpp:20
↓ 1 callers
Function
match
Section 17 - dp 2D/wildcardPatternMatching.cpp:4
↓ 1 callers
Method
max_xor
Section 14 - tries and pattern/minimumXorPair.cpp:75
↓ 1 callers
Method
minCostBFS
Section 15 - graphs/snakes&LadderGames.cpp:19
↓ 1 callers
Function
minDistance
Section 17 - dp 2D/editDistance.cpp:4
↓ 1 callers
Function
min_bars_helper
Section 13 - hashing/minimumBars.cpp:5
↓ 1 callers
Function
mixtures
Section 17 - dp 2D/mixturesSpoj.cpp:4
↓ 1 callers
Function
normalize_word
Section 03 - string problems/stringNormalisation.cpp:12
↓ 1 callers
Function
palindromePartitioningMinCuts
Section 17 - dp 2D/palindromicPartitioning.cpp:6
↓ 1 callers
Function
printNodesAtDistanceK
Section 10 - binary trees/sortedNodesAtDistanceK.cpp:34
↓ 1 callers
Function
safe
helper function 2
Section 07 - recursion/sudukoSolver.cpp:5
↓ 1 callers
Function
skip_whitespace
Section 03 - string problems/stringNormalisation.cpp:4
↓ 1 callers
Function
solve
helper function 1
Section 07 - recursion/sudukoSolver.cpp:24
↓ 1 callers
Function
solve
Section 07 - recursion/nQueen.cpp:36
↓ 1 callers
Function
solve
Section 07 - recursion/moduloExponentiation.cpp:4
↓ 1 callers
Function
validWords
recursive algorithm will get the trie to prune uncessary branches
Section 14 - tries and pattern/phoneNumberSearch.cpp:45
Function
FindFirstNonRepeatingCharacter
Section 09 - stacks and queue/firstNonRepeatingCharacter.cpp:5
Function
GameOfWits
Section 17 - dp 2D/gameOfWits.cpp:62
Method
Graph
Section 15 - graphs/snakes&LadderGames.cpp:11
Method
Graph
Section 15 - graphs/astranautPairs.cpp:10
Method
Graph
Section 15 - graphs/cycleDetection2DirectedGraph.cpp:11
Method
Graph
Section 15 - graphs/cycleDetection1UndirectedGraph.cpp:11
Function
MaxValue
Section 07 - recursion/gameOfCoins.cpp:15
Function
MaxValue
Section 07 - recursion/gameOfCoinsAdvanced.cpp:32
Method
Node
Section 15 - graphs/shortestGridPath.cpp:13
Method
Node
Section 14 - tries and pattern/phoneNumberSearch.cpp:15
Method
Node
Section 14 - tries and pattern/prateekBhayia&GooglyStrings.cpp:11
Method
Node
Section 11 - binary search tree/warmUpBstSearch.cpp:11
Method
Node
Section 11 - binary search tree/isBST.cpp:11
Method
Node
Section 10 - binary trees/siblingsSwap.cpp:11
Method
Node
Section 10 - binary trees/leftView.cpp:11
Method
Trie
Section 14 - tries and pattern/phoneNumberSearch.cpp:26
Method
Trie
Section 14 - tries and pattern/prateekBhayia&GooglyStrings.cpp:20
Function
badness
Section 05 - sorting and searching/icpcStandings.cpp:4
Function
breakChain
Section 13 - hashing/breakTheChain.cpp:15
Function
breakPalindrome
Section 03 - string problems/palindromeBreak.cpp:4
Function
cntSubarrays
Section 04 - sliding window/countSubarraysWithTargetSum.cpp:5
Function
commonElements
Section 13 - hashing/warmUpCommonElements.cpp:4
Function
compare
Section 03 - string problems/biggestNumberString.cpp:4
Function
compare
Section 02 - array and vectors/busyLife.cpp:5
Function
compressString
str is the input the string
Section 03 - string problems/runLengthEncoding.cpp:5
Function
concatenate
Section 03 - string problems/biggestNumberString.cpp:8
Function
containsCycle
Section 08 - linked list/detectCycleInALinkedList.cpp:16
Function
contains_cycle
Section 15 - graphs/cycleDetection2DirectedGraph.cpp:65
Function
contains_cycle
Section 15 - graphs/cycleDetection1UndirectedGraph.cpp:58
Function
convert_to_digital_time
Section 03 - string problems/digitalClock.cpp:4
Function
countActivites
Section 02 - array and vectors/busyLife.cpp:10
Function
count_pairs
Section 15 - graphs/astranautPairs.cpp:53
Method
cycle_helper
Section 15 - graphs/cycleDetection2DirectedGraph.cpp:24
Method
cycle_helper
Section 15 - graphs/cycleDetection1UndirectedGraph.cpp:23
Function
editDistance
Section 17 - dp 2D/editDistance.cpp:24
Function
equal
Section 10 - binary trees/siblingsSwap.cpp:18
Function
filterNames
Section 14 - tries and pattern/phoneNumberSearch.cpp:70
Function
findCombinations
Section 17 - dp 2D/coinChange2.cpp:17
Function
findInOrderSuccessor
Section 11 - binary search tree/speacialBST.cpp:13
Function
findLongestPath
Section 07 - recursion/longestPossibleRoute.cpp:55
Function
findPath
Section 07 - recursion/ratInAMaze.cpp:32
Function
findSortedPermutations
Section 07 - recursion/sortedPermutation.cpp:19
Function
firstRepeatChar
Section 13 - hashing/warmUp-firstRepeatingLetter.cpp:5
Function
fizzbuzz
Section 02 - array and vectors/fizzBuzzTest.cpp:6
Function
getCoins
Section 06 - binary search/gameOfGreed.cpp:23
Method
getMedian
Section 12 - priority queue/runningMeadianClass.cpp:54
Function
getMid
Section 08 - linked list/middleElement.cpp:16
Function
googlyStrings
Section 14 - tries and pattern/prateekBhayia&GooglyStrings.cpp:67
Function
groupAnagrams
Section 13 - hashing/groupAnagrams.cpp:4
Function
isBST
Section 11 - binary search tree/isBST.cpp:35
Function
isPresent
Section 11 - binary search tree/warmUpBstSearch.cpp:18
Function
isPresent
Section 08 - linked list/warmUpSearch.cpp:17
Function
kthLastElement
Section 08 - linked list/KthLast.cpp:16
Function
largest_island
Section 15 - graphs/largestIsland.cpp:27
next →
1–100 of 143, ranked by callers