Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
Create free account
hub
/
github.com/deepaktalwardt/interview-prep-cpp
/ functions
Functions
288 in github.com/deepaktalwardt/interview-prep-cpp
⨍
Functions
288
◇
Types & classes
134
Method
minMeetingRooms
LeetCode/253-meeting-rooms-ii.cpp:6
Function
minNumberOfCoinsForChange
AlgoExpert/min-number-of-coins-for-change.cpp:5
Function
minNumberOfJumps
AlgoExpert/min-number-of-jumps.cpp:4
Function
minRewards
AlgoExpert/min-rewards.cpp:10
Method
mincostTickets
LeetCode/983-minimum-cost-for-tickets.cpp:3
Method
minimumCost
LeetCode/1135-connecting-cities-with-minimum-cost.cpp:44
Method
missingNumber
LeetCode/268-missing-number.cpp:3
Function
moveElementToEnd
AlgoExpert/move-element-to-end.cpp:10
Method
moveZeroes
LeetCode/283-move-zeroes.cpp:5
Method
networkDelayTime
LeetCode/743-network-delay-time.cpp:6
Method
next
LeetCode/281-zigzag-iterator.cpp:12
Method
nextClosestTime
LeetCode/681-next-closest-time.cpp:24
Method
numDecodings
LeetCode/91-decode-ways.cpp:3
Method
numIslands
LeetCode/200-number-of-islands.cpp:33
Method
numMagicSquaresInside
LeetCode/840-magic-squares-in-grid.cpp:21
Method
numTilePossibilities
LeetCode/1079-letter-tile-possibilities.cpp:18
Method
numUniqueEmails
LeetCode/929-unique-email-addresses.cpp:21
Function
numberOfWaysToMakeChange
AlgoExpert/number-of-ways-to-make-change.cpp:5
Method
openRooms
LeetCode/841-keys-and-rooms.cpp:5
Method
operator<
EPI/10-4-k-closest-stars.cpp:12
Method
orangesRotting
LeetCode/994-rotting-oranges.cpp:6
Function
palindromePartitioningMinCuts
AlgoExpert/palindrome-partitioning-min-cuts.cpp:20
Method
peek
AlgoExpert/min-heap-construction.cpp:56
Method
permute
LeetCode/46-permutations.cpp:22
Function
postOrderTraverse
AlgoExpert/bst-traversal.cpp:32
Function
powerset
AlgoExpert/powerset.cpp:4
Method
preOrder
LeetCode/297-serialize-and-deserialize-binary-tree.cpp:13
Function
preOrderTraverse
AlgoExpert/bst-traversal.cpp:23
Method
process
LeetCode/289-game-of-life.cpp:3
Method
processEmail
LeetCode/929-unique-email-addresses.cpp:3
Method
productExceptSelf
LeetCode/238-product-of-array-except-self.cpp:3
Function
productSum
AlgoExpert/product-sum.cpp:19
Function
quickSort
AlgoExpert/quick-sort.cpp:33
Function
rectangleMania
AlgoExpert/rectangle-mania.cpp:25
Method
remove
AlgoExpert/min-heap-construction.cpp:61
Method
removeDuplicates
LeetCode/26-remove-duplicates-from-sorted-array.cpp:3
Function
removeKthNodeFromEnd
AlgoExpert/remove-kth-node-from-end.cpp:14
Method
removeNthFromEnd
LeetCode/19-remove-nth-node-from-end-of-list.cpp:12
Method
reorderLogFiles
LeetCode/937-reorder-data-in-log-files.cpp:7
Method
reverse
LeetCode/7-reverse-integer.cpp:4
Function
reverseLinkedList
AlgoExpert/reverse-linked-list.cpp:13
Method
reverseList
LeetCode/206-reverse-linked-list.cpp:3
Method
reverseOnlyLetters
LeetCode/917-reverse-only-letters.cpp:7
Method
reverseStr
LeetCode/541-reverse-string-ii.cpp:9
Function
riverSizes
AlgoExpert/river-sizes.cpp:27
Method
rob
LeetCode/198-house-robber.cpp:4
Method
rotate
LeetCode/48-rotate-image.cpp:3
Method
rotateString
LeetCode/796-is-rotation.cpp:3
Method
search
LeetCode/33-search-in-rotated-sorted-array.cpp:4
Method
search
LeetCode/81-search-in-rotated-sorted-array-ii.cpp:3
Function
searchInSortedMatrix
AlgoExpert/search-in-sorted-matrix.cpp:6
Method
searchMatrix
LeetCode/240-search-a-2d-matrix-ii.cpp:3
Method
searchMatrix
LeetCode/74-search-a-2d-matrix.cpp:17
Method
serialize
Encodes a tree to a single string.
LeetCode/297-serialize-and-deserialize-binary-tree.cpp:25
Method
shiftedBinarySearch
LeetCode/33-search-in-rotated-sorted-array.cpp:34
Method
shortestWay
LeetCode/1055-shortest-way-to-form-string.cpp:3
Method
shouldPrintMessage
Returns true if the message should be printed in the given timestamp, otherwise returns false. If this method returns false, the message will
LeetCode/359-logger-rate-limiter.cpp:14
Method
siftDown
AlgoExpert/min-heap-construction.cpp:25
Method
siftUp
AlgoExpert/min-heap-construction.cpp:44
Method
singleNumber
LeetCode/136-single-number.cpp:5
Function
smallestDifference
AlgoExpert/smallest-difference.cpp:7
Method
spiralOrder
LeetCode/54-spiral-matrix.cpp:4
Function
subarraySort
AlgoExpert/subarray-sort.cpp:25
Method
subarraySum
LeetCode/560-subarray-sum-equals-k.cpp:4
Method
sumRegion
LeetCode/308-range-sum-query-2d-mutable.cpp:12
Method
sums
AlgoExpert/max-path-sum-in-binary-tree.cpp:17
Method
swap
LeetCode/46-permutations.cpp:3
Method
swap
LeetCode/541-reverse-string-ii.cpp:3
Method
swap
AlgoExpert/min-heap-construction.cpp:76
Function
threeNumberSum
AlgoExpert/three-number-sum.cpp:5
Method
threeSum
LeetCode/15-3sum.cpp:4
Method
topKFrequent
LeetCode/692-top-k-frequent-words.cpp:12
Method
topKFrequent
LeetCode/347-top-k-frequent-elements.cpp:9
Function
topologicalSort
AlgoExpert/topological-sort.cpp:23
Method
totalFruit
LeetCode/904-fruit-into-baskets.cpp:23
Method
transpose
LeetCode/867-transpose-matrix.cpp:3
Method
trap
LeetCode/42-trapping-rain-water.cpp:3
Function
twoNumberSum
AlgoExpert/two-number-sum.cpp:4
Method
twoSum
LeetCode/1-two-sum.cpp:4
Method
unite
LeetCode/1135-connecting-cities-with-minimum-cost.cpp:22
Method
unite
LeetCode/323-number-of-connected-components-in-undirected-graph.cpp:13
Method
update
LeetCode/308-range-sum-query-2d-mutable.cpp:8
Function
validateBst
O(n) time | O(d) space
AlgoExpert/validate-bst.cpp:12
Method
visitNeighbors
LeetCode/1042-flower-planting-with-no-adjacent.cpp:3
Method
wallsAndGates
LeetCode/286-walls-and-gates.cpp:3
Function
waterArea
AlgoExpert/water-area.cpp:5
Method
wordBreak
LeetCode/139-word-break.cpp:5
Function
zigzagTraverse
AlgoExpert/zigzag-traverse.cpp:6
← previous
201–288 of 288, ranked by callers