MCPcopy Create free account

hub / github.com/coding-minutes/dsa-levelUp-solutions-cpp / functions

Functions143 in github.com/coding-minutes/dsa-levelUp-solutions-cpp

↓ 7 callersMethodpush
Section 12 - priority queue/runningMeadianClass.cpp:12
↓ 5 callersMethodinsert
Section 14 - tries and pattern/minimumXorPair.cpp:20
↓ 3 callersFunctionprintAtLevelK
Section 10 - binary trees/sortedNodesAtDistanceK.cpp:20
↓ 2 callersMethodgetRoot
Section 14 - tries and pattern/prateekBhayia&GooglyStrings.cpp:24
↓ 2 callersFunctionsearch
finding the level of a given node from the root node/any given node
Section 11 - binary search tree/shortestTreePath.cpp:43
↓ 2 callersFunctionsum
Section 07 - recursion/gameOfCoinsAdvanced.cpp:4
↓ 1 callersMethodaddEdge
Section 15 - graphs/snakes&LadderGames.cpp:15
↓ 1 callersMethodaddEdge
Section 15 - graphs/astranautPairs.cpp:16
↓ 1 callersMethodaddEdge
Section 15 - graphs/cycleDetection2DirectedGraph.cpp:16
↓ 1 callersMethodaddEdge
Section 15 - graphs/cycleDetection1UndirectedGraph.cpp:15
↓ 1 callersMethodaddWord
Section 14 - tries and pattern/phoneNumberSearch.cpp:29
↓ 1 callersMethodaddWord
Section 14 - tries and pattern/prateekBhayia&GooglyStrings.cpp:28
↓ 1 callersFunctioncalc
Section 07 - recursion/gameOfCoinsAdvanced.cpp:11
↓ 1 callersFunctioncalc
Section 07 - recursion/ratInAMaze.cpp:6
↓ 1 callersFunctioncoinChange
Section 17 - dp 2D/coinChange2.cpp:4
↓ 1 callersMethodcontains_cycle
Section 15 - graphs/cycleDetection2DirectedGraph.cpp:50
↓ 1 callersMethodcontains_cycle
Section 15 - graphs/cycleDetection1UndirectedGraph.cpp:48
↓ 1 callersMethodcountAstronauts
DFS - Depth First Search O(V+E) Linear
Section 15 - graphs/astranautPairs.cpp:35
↓ 1 callersFunctiondfs
Section 15 - graphs/graphSequence.cpp:5
↓ 1 callersFunctiondfs
Section 15 - graphs/largestIsland.cpp:4
↓ 1 callersFunctiondivideAmongK
Section 06 - binary search/gameOfGreed.cpp:4
↓ 1 callersFunctionfindPath
Section 07 - recursion/longestPossibleRoute.cpp:4
↓ 1 callersFunctionfind_Permutations
Section 07 - recursion/sortedPermutation.cpp:5
↓ 1 callersFunctiongame
Section 07 - recursion/gameOfCoins.cpp:4
↓ 1 callersFunctiongame
Section 17 - dp 2D/gameOfWits.cpp:4
↓ 1 callersFunctionisBSTUtil
Section 11 - binary search tree/isBST.cpp:17
↓ 1 callersFunctionisPossible
Section 06 - binary search/readingBooks.cpp:4
↓ 1 callersFunctionisSafe
Section 07 - recursion/nQueen.cpp:7
↓ 1 callersFunctionisSpecial
Section 14 - tries and pattern/prateekBhayia&GooglyStrings.cpp:42
↓ 1 callersFunctionlca
Section 11 - binary search tree/shortestTreePath.cpp:17
↓ 1 callersFunctionleftViewUtil
Section 10 - binary trees/leftView.cpp:20
↓ 1 callersFunctionmatch
Section 17 - dp 2D/wildcardPatternMatching.cpp:4
↓ 1 callersMethodmax_xor
Section 14 - tries and pattern/minimumXorPair.cpp:75
↓ 1 callersMethodminCostBFS
Section 15 - graphs/snakes&LadderGames.cpp:19
↓ 1 callersFunctionminDistance
Section 17 - dp 2D/editDistance.cpp:4
↓ 1 callersFunctionmin_bars_helper
Section 13 - hashing/minimumBars.cpp:5
↓ 1 callersFunctionmixtures
Section 17 - dp 2D/mixturesSpoj.cpp:4
↓ 1 callersFunctionnormalize_word
Section 03 - string problems/stringNormalisation.cpp:12
↓ 1 callersFunctionpalindromePartitioningMinCuts
Section 17 - dp 2D/palindromicPartitioning.cpp:6
↓ 1 callersFunctionprintNodesAtDistanceK
Section 10 - binary trees/sortedNodesAtDistanceK.cpp:34
↓ 1 callersFunctionsafe
helper function 2
Section 07 - recursion/sudukoSolver.cpp:5
↓ 1 callersFunctionskip_whitespace
Section 03 - string problems/stringNormalisation.cpp:4
↓ 1 callersFunctionsolve
helper function 1
Section 07 - recursion/sudukoSolver.cpp:24
↓ 1 callersFunctionsolve
Section 07 - recursion/nQueen.cpp:36
↓ 1 callersFunctionsolve
Section 07 - recursion/moduloExponentiation.cpp:4
↓ 1 callersFunctionvalidWords
recursive algorithm will get the trie to prune uncessary branches
Section 14 - tries and pattern/phoneNumberSearch.cpp:45
FunctionFindFirstNonRepeatingCharacter
Section 09 - stacks and queue/firstNonRepeatingCharacter.cpp:5
FunctionGameOfWits
Section 17 - dp 2D/gameOfWits.cpp:62
MethodGraph
Section 15 - graphs/snakes&LadderGames.cpp:11
MethodGraph
Section 15 - graphs/astranautPairs.cpp:10
MethodGraph
Section 15 - graphs/cycleDetection2DirectedGraph.cpp:11
MethodGraph
Section 15 - graphs/cycleDetection1UndirectedGraph.cpp:11
FunctionMaxValue
Section 07 - recursion/gameOfCoins.cpp:15
FunctionMaxValue
Section 07 - recursion/gameOfCoinsAdvanced.cpp:32
MethodNode
Section 15 - graphs/shortestGridPath.cpp:13
MethodNode
Section 14 - tries and pattern/phoneNumberSearch.cpp:15
MethodNode
Section 14 - tries and pattern/prateekBhayia&GooglyStrings.cpp:11
MethodNode
Section 11 - binary search tree/warmUpBstSearch.cpp:11
MethodNode
Section 11 - binary search tree/isBST.cpp:11
MethodNode
Section 10 - binary trees/siblingsSwap.cpp:11
MethodNode
Section 10 - binary trees/leftView.cpp:11
MethodTrie
Section 14 - tries and pattern/phoneNumberSearch.cpp:26
MethodTrie
Section 14 - tries and pattern/prateekBhayia&GooglyStrings.cpp:20
Functionbadness
Section 05 - sorting and searching/icpcStandings.cpp:4
FunctionbreakChain
Section 13 - hashing/breakTheChain.cpp:15
FunctionbreakPalindrome
Section 03 - string problems/palindromeBreak.cpp:4
FunctioncntSubarrays
Section 04 - sliding window/countSubarraysWithTargetSum.cpp:5
FunctioncommonElements
Section 13 - hashing/warmUpCommonElements.cpp:4
Functioncompare
Section 03 - string problems/biggestNumberString.cpp:4
Functioncompare
Section 02 - array and vectors/busyLife.cpp:5
FunctioncompressString
str is the input the string
Section 03 - string problems/runLengthEncoding.cpp:5
Functionconcatenate
Section 03 - string problems/biggestNumberString.cpp:8
FunctioncontainsCycle
Section 08 - linked list/detectCycleInALinkedList.cpp:16
Functioncontains_cycle
Section 15 - graphs/cycleDetection2DirectedGraph.cpp:65
Functioncontains_cycle
Section 15 - graphs/cycleDetection1UndirectedGraph.cpp:58
Functionconvert_to_digital_time
Section 03 - string problems/digitalClock.cpp:4
FunctioncountActivites
Section 02 - array and vectors/busyLife.cpp:10
Functioncount_pairs
Section 15 - graphs/astranautPairs.cpp:53
Methodcycle_helper
Section 15 - graphs/cycleDetection2DirectedGraph.cpp:24
Methodcycle_helper
Section 15 - graphs/cycleDetection1UndirectedGraph.cpp:23
FunctioneditDistance
Section 17 - dp 2D/editDistance.cpp:24
Functionequal
Section 10 - binary trees/siblingsSwap.cpp:18
FunctionfilterNames
Section 14 - tries and pattern/phoneNumberSearch.cpp:70
FunctionfindCombinations
Section 17 - dp 2D/coinChange2.cpp:17
FunctionfindInOrderSuccessor
Section 11 - binary search tree/speacialBST.cpp:13
FunctionfindLongestPath
Section 07 - recursion/longestPossibleRoute.cpp:55
FunctionfindPath
Section 07 - recursion/ratInAMaze.cpp:32
FunctionfindSortedPermutations
Section 07 - recursion/sortedPermutation.cpp:19
FunctionfirstRepeatChar
Section 13 - hashing/warmUp-firstRepeatingLetter.cpp:5
Functionfizzbuzz
Section 02 - array and vectors/fizzBuzzTest.cpp:6
FunctiongetCoins
Section 06 - binary search/gameOfGreed.cpp:23
MethodgetMedian
Section 12 - priority queue/runningMeadianClass.cpp:54
FunctiongetMid
Section 08 - linked list/middleElement.cpp:16
FunctiongooglyStrings
Section 14 - tries and pattern/prateekBhayia&GooglyStrings.cpp:67
FunctiongroupAnagrams
Section 13 - hashing/groupAnagrams.cpp:4
FunctionisBST
Section 11 - binary search tree/isBST.cpp:35
FunctionisPresent
Section 11 - binary search tree/warmUpBstSearch.cpp:18
FunctionisPresent
Section 08 - linked list/warmUpSearch.cpp:17
FunctionkthLastElement
Section 08 - linked list/KthLast.cpp:16
Functionlargest_island
Section 15 - graphs/largestIsland.cpp:27
next →1–100 of 143, ranked by callers