MCPcopy Create free account

hub / github.com/deepaktalwardt/interview-prep-cpp / functions

Functions288 in github.com/deepaktalwardt/interview-prep-cpp

↓ 34 callersMethodfind
LeetCode/323-number-of-connected-components-in-undirected-graph.cpp:6
↓ 12 callersMethodinsert
AlgoExpert/min-heap-construction.cpp:70
↓ 8 callersFunctionswap
AlgoExpert/quick-sort.cpp:4
↓ 6 callersFunctiondfs
AlgoExpert/topological-sort.cpp:9
↓ 5 callersFunctionshiftedBinarySearch
AlgoExpert/shifted-binary-search.cpp:16
↓ 4 callersFunctionhelper
AlgoExpert/permutations.cpp:11
↓ 3 callersMethodDistance
EPI/10-4-k-closest-stars.cpp:16
↓ 3 callersFunctionbinarySearch
AlgoExpert/binary-search.cpp:18
↓ 3 callersFunctionbinarySearch
AlgoExpert/shifted-binary-search.cpp:4
↓ 3 callersFunctiongetDifferentNumber
Pramp/interview-2/getting-a-different-number.cpp:7
↓ 3 callersMethodgetName
LeetCode/939-minimum-area-rectangle.cpp:25
↓ 3 callersMethodgetName
AlgoExpert/rectangle-mania.cpp:13
↓ 2 callersFunctionarrayOfArrayProducts
Pramp/interview-6/array-of-array-products.cpp:6
↓ 2 callersFunctiondepthOfDescendent
AlgoExpert/youngest-common-ancestor.cpp:17
↓ 2 callersFunctionfindCorrectSpot
AlgoExpert/subarray-sort.cpp:5
↓ 2 callersFunctiongetLongestPalindromeBetween
AlgoExpert/longest-palindromic-substring.cpp:3
↓ 2 callersFunctionisPalindrome
AlgoExpert/palindrome-check.cpp:3
↓ 2 callersFunctionswap
AlgoExpert/permutations.cpp:5
↓ 1 callersFunctionFindClosestKStars
EPI/10-4-k-closest-stars.cpp:21
↓ 1 callersFunctionRookAttack
EPI/rook_attack.cpp:6
↓ 1 callersFunctionallWords
Pramp/interview-3/word-count-engine.cpp:10
↓ 1 callersFunctionbinarySearch
Pramp/interview-7/find-the-duplicates.cpp:15
↓ 1 callersFunctionbinarySearchHelper
AlgoExpert/binary-search.cpp:4
↓ 1 callersFunctionbuildArray
AlgoExpert/knapsack-problem.cpp:6
↓ 1 callersFunctionbuildPattern
AlgoExpert/knuth-morris-pratt-algorithm.cpp:5
↓ 1 callersFunctionbuildSeq
AlgoExpert/max-sum-increasing-subsequence.cpp:6
↓ 1 callersFunctiondoBinarySearch
AlgoExpert/search-in-sorted-matrix.cpp:28
↓ 1 callersFunctiondoesMatch
AlgoExpert/knuth-morris-pratt-algorithm.cpp:27
↓ 1 callersFunctionfindBusiestPeriod
Pramp/interview-1/busiest-time-in-mall.cpp:6
↓ 1 callersFunctionfindClosestValueInBstHelper
Recursive Average: O(log n) time | O(log n) space Worst: O(n) time | O(n) space
AlgoExpert/find-closest-in-bst.cpp:28
↓ 1 callersFunctionfindDuplicates
Pramp/interview-7/find-the-duplicates.cpp:28
↓ 1 callersFunctionfindMaxPath
AlgoExpert/max-path-sum-in-binary-tree.cpp:20
↓ 1 callersFunctionfindSizeOfRiver
AlgoExpert/river-sizes.cpp:5
↓ 1 callersFunctionfindValleys
AlgoExpert/min-rewards.cpp:36
↓ 1 callersFunctionformsRectangle
AlgoExpert/rectangle-mania.cpp:18
↓ 1 callersFunctiongetCheapestCost
Pramp/interview-5/sales-path.cpp:13
↓ 1 callersFunctiongetLCM
AlgoExpert/lowest-common-manager.cpp:22
↓ 1 callersFunctionisPalindrome
AlgoExpert/palindrome-partitioning-min-cuts.cpp:6
↓ 1 callersMethodisTopRight
LeetCode/939-minimum-area-rectangle.cpp:21
↓ 1 callersMethodisTopRight
AlgoExpert/rectangle-mania.cpp:9
↓ 1 callersFunctionproductSumHelper
AlgoExpert/product-sum.cpp:6
↓ 1 callersFunctionquickSortHelper
AlgoExpert/quick-sort.cpp:10
↓ 1 callersFunctionremoveFromArray
AlgoExpert/permutations.cpp:38
↓ 1 callersFunctionswap
AlgoExpert/bubble-sort.cpp:4
↓ 1 callersFunctionswap
AlgoExpert/move-element-to-end.cpp:4
↓ 1 callersFunctionwordCountEngine
Pramp/interview-3/word-count-engine.cpp:27
MethodAncestralTree
AlgoExpert/youngest-common-ancestor.cpp:9
MethodBinaryTree
AlgoExpert/branch-sums.cpp:10
FunctionComp
EPI/10-4-k-closest-stars.cpp:54
MethodDegrees
LeetCode/277-find-the-celebrity.cpp:33
FunctionFindClosestKStarsWrapper
EPI/10-4-k-closest-stars.cpp:69
MethodHitCounter
Initialize your data structure here. */
LeetCode/362-design-hit-counter.cpp:6
MethodKeyWithFreq
LeetCode/692-top-k-frequent-words.cpp:9
MethodKeyWithFreq
LeetCode/347-top-k-frequent-elements.cpp:6
MethodLinkedList
AlgoExpert/reverse-linked-list.cpp:8
MethodLogger
LeetCode/359-logger-rate-limiter.cpp:8
MethodMinHeap
AlgoExpert/min-heap-construction.cpp:11
MethodNode
AlgoExpert/breadth-first-search.cpp:14
MethodNode
AlgoExpert/depth-first-search.cpp:14
MethodNumMatrix
LeetCode/308-range-sum-query-2d-mutable.cpp:3
MethodOrgChart
AlgoExpert/lowest-common-manager.cpp:9
MethodPoint
LeetCode/939-minimum-area-rectangle.cpp:11
FunctionRabinKarp
Returns the index of the first character of the substring if found, -1 otherwise.
EPI/string-match.cpp:8
FunctionRookAttackWrapper
EPI/rook_attack.cpp:35
MethodZigzagIterator
LeetCode/281-zigzag-iterator.cpp:3
MethodaddChild
AlgoExpert/breadth-first-search.cpp:33
MethodaddChild
AlgoExpert/depth-first-search.cpp:27
MethodaddTwoNumbers
LeetCode/2-add-two-numbers.cpp:11
MethodareaFormed
LeetCode/939-minimum-area-rectangle.cpp:30
MethodarrayPairSum
LeetCode/561-array-partition-i.cpp:5
Methodbacktrack
LeetCode/22-generate-parentheses.cpp:3
FunctionbalancedBrackets
AlgoExpert/balanced-brackets.cpp:6
MethodbinarySearch
LeetCode/74-search-a-2d-matrix.cpp:3
FunctionbranchSums
AlgoExpert/branch-sums.cpp:17
MethodbreadthFirstSearch
AlgoExpert/breadth-first-search.cpp:18
FunctionbubbleSort
AlgoExpert/bubble-sort.cpp:10
MethodbuildHeap
AlgoExpert/min-heap-construction.cpp:15
MethodbuildTree
LeetCode/105-construct-binary-tree-from-preorder-and-inorder-traversal.cpp:12
FunctioncaesarCypherEncryptor
AlgoExpert/caesar-cipher-encryptor.cpp:3
MethodcalcEquation
LeetCode/399-evaluate-division.cpp:27
MethodcanFinish
LeetCode/207-course-schedule.cpp:20
MethodcanVisitAllRooms
LeetCode/841-keys-and-rooms.cpp:14
MethodcheckBalance
LeetCode/110-balanced-binary-tree.cpp:8
MethodcheckRecord
LeetCode/551-student-attendance-record-i.cpp:3
MethodcheckRotations
LeetCode/1007-minimum-domino-rotations-for-equal-row.cpp:3
MethodcheckSymmetry
LeetCode/101-symmetric-tree.cpp:3
MethodclimbStairs
LeetCode/70-climbing-stairs.cpp:3
MethodcoinChange
LeetCode/322-coin-change.cpp:3
MethodcountComponents
LeetCode/323-components-in-undirected-graph.cpp:6
MethodcountComponents
LeetCode/323-number-of-connected-components-in-undirected-graph.cpp:23
MethodcountPossibilities
LeetCode/1079-letter-tile-possibilities.cpp:5
MethodcriticalConnections
LeetCode/1192-critical-connections-in-a-network.cpp:22
MethoddecodeString
LeetCode/394-decode-string.cpp:5
FunctiondecodeVariations
Dynamic programming O(N) time, O(N) space
Pramp/interview-1/decode-variations.cpp:8
MethoddepthFirstSearch
AlgoExpert/depth-first-search.cpp:18
MethoddepthSumInverse
LeetCode/364-nested-list-weight-sum-ii.cpp:33
Methoddeserialize
Decodes your encoded data to tree.
LeetCode/297-serialize-and-deserialize-binary-tree.cpp:33
Methoddfs
LeetCode/207-course-schedule.cpp:6
Methoddfs
LeetCode/399-evaluate-division.cpp:6
Methoddfs
LeetCode/1192-critical-connections-in-a-network.cpp:3
next →1–100 of 288, ranked by callers