MCPcopy Create free account

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

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

MethodminMeetingRooms
LeetCode/253-meeting-rooms-ii.cpp:6
FunctionminNumberOfCoinsForChange
AlgoExpert/min-number-of-coins-for-change.cpp:5
FunctionminNumberOfJumps
AlgoExpert/min-number-of-jumps.cpp:4
FunctionminRewards
AlgoExpert/min-rewards.cpp:10
MethodmincostTickets
LeetCode/983-minimum-cost-for-tickets.cpp:3
MethodminimumCost
LeetCode/1135-connecting-cities-with-minimum-cost.cpp:44
MethodmissingNumber
LeetCode/268-missing-number.cpp:3
FunctionmoveElementToEnd
AlgoExpert/move-element-to-end.cpp:10
MethodmoveZeroes
LeetCode/283-move-zeroes.cpp:5
MethodnetworkDelayTime
LeetCode/743-network-delay-time.cpp:6
Methodnext
LeetCode/281-zigzag-iterator.cpp:12
MethodnextClosestTime
LeetCode/681-next-closest-time.cpp:24
MethodnumDecodings
LeetCode/91-decode-ways.cpp:3
MethodnumIslands
LeetCode/200-number-of-islands.cpp:33
MethodnumMagicSquaresInside
LeetCode/840-magic-squares-in-grid.cpp:21
MethodnumTilePossibilities
LeetCode/1079-letter-tile-possibilities.cpp:18
MethodnumUniqueEmails
LeetCode/929-unique-email-addresses.cpp:21
FunctionnumberOfWaysToMakeChange
AlgoExpert/number-of-ways-to-make-change.cpp:5
MethodopenRooms
LeetCode/841-keys-and-rooms.cpp:5
Methodoperator<
EPI/10-4-k-closest-stars.cpp:12
MethodorangesRotting
LeetCode/994-rotting-oranges.cpp:6
FunctionpalindromePartitioningMinCuts
AlgoExpert/palindrome-partitioning-min-cuts.cpp:20
Methodpeek
AlgoExpert/min-heap-construction.cpp:56
Methodpermute
LeetCode/46-permutations.cpp:22
FunctionpostOrderTraverse
AlgoExpert/bst-traversal.cpp:32
Functionpowerset
AlgoExpert/powerset.cpp:4
MethodpreOrder
LeetCode/297-serialize-and-deserialize-binary-tree.cpp:13
FunctionpreOrderTraverse
AlgoExpert/bst-traversal.cpp:23
Methodprocess
LeetCode/289-game-of-life.cpp:3
MethodprocessEmail
LeetCode/929-unique-email-addresses.cpp:3
MethodproductExceptSelf
LeetCode/238-product-of-array-except-self.cpp:3
FunctionproductSum
AlgoExpert/product-sum.cpp:19
FunctionquickSort
AlgoExpert/quick-sort.cpp:33
FunctionrectangleMania
AlgoExpert/rectangle-mania.cpp:25
Methodremove
AlgoExpert/min-heap-construction.cpp:61
MethodremoveDuplicates
LeetCode/26-remove-duplicates-from-sorted-array.cpp:3
FunctionremoveKthNodeFromEnd
AlgoExpert/remove-kth-node-from-end.cpp:14
MethodremoveNthFromEnd
LeetCode/19-remove-nth-node-from-end-of-list.cpp:12
MethodreorderLogFiles
LeetCode/937-reorder-data-in-log-files.cpp:7
Methodreverse
LeetCode/7-reverse-integer.cpp:4
FunctionreverseLinkedList
AlgoExpert/reverse-linked-list.cpp:13
MethodreverseList
LeetCode/206-reverse-linked-list.cpp:3
MethodreverseOnlyLetters
LeetCode/917-reverse-only-letters.cpp:7
MethodreverseStr
LeetCode/541-reverse-string-ii.cpp:9
FunctionriverSizes
AlgoExpert/river-sizes.cpp:27
Methodrob
LeetCode/198-house-robber.cpp:4
Methodrotate
LeetCode/48-rotate-image.cpp:3
MethodrotateString
LeetCode/796-is-rotation.cpp:3
Methodsearch
LeetCode/33-search-in-rotated-sorted-array.cpp:4
Methodsearch
LeetCode/81-search-in-rotated-sorted-array-ii.cpp:3
FunctionsearchInSortedMatrix
AlgoExpert/search-in-sorted-matrix.cpp:6
MethodsearchMatrix
LeetCode/240-search-a-2d-matrix-ii.cpp:3
MethodsearchMatrix
LeetCode/74-search-a-2d-matrix.cpp:17
Methodserialize
Encodes a tree to a single string.
LeetCode/297-serialize-and-deserialize-binary-tree.cpp:25
MethodshiftedBinarySearch
LeetCode/33-search-in-rotated-sorted-array.cpp:34
MethodshortestWay
LeetCode/1055-shortest-way-to-form-string.cpp:3
MethodshouldPrintMessage
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
MethodsiftDown
AlgoExpert/min-heap-construction.cpp:25
MethodsiftUp
AlgoExpert/min-heap-construction.cpp:44
MethodsingleNumber
LeetCode/136-single-number.cpp:5
FunctionsmallestDifference
AlgoExpert/smallest-difference.cpp:7
MethodspiralOrder
LeetCode/54-spiral-matrix.cpp:4
FunctionsubarraySort
AlgoExpert/subarray-sort.cpp:25
MethodsubarraySum
LeetCode/560-subarray-sum-equals-k.cpp:4
MethodsumRegion
LeetCode/308-range-sum-query-2d-mutable.cpp:12
Methodsums
AlgoExpert/max-path-sum-in-binary-tree.cpp:17
Methodswap
LeetCode/46-permutations.cpp:3
Methodswap
LeetCode/541-reverse-string-ii.cpp:3
Methodswap
AlgoExpert/min-heap-construction.cpp:76
FunctionthreeNumberSum
AlgoExpert/three-number-sum.cpp:5
MethodthreeSum
LeetCode/15-3sum.cpp:4
MethodtopKFrequent
LeetCode/692-top-k-frequent-words.cpp:12
MethodtopKFrequent
LeetCode/347-top-k-frequent-elements.cpp:9
FunctiontopologicalSort
AlgoExpert/topological-sort.cpp:23
MethodtotalFruit
LeetCode/904-fruit-into-baskets.cpp:23
Methodtranspose
LeetCode/867-transpose-matrix.cpp:3
Methodtrap
LeetCode/42-trapping-rain-water.cpp:3
FunctiontwoNumberSum
AlgoExpert/two-number-sum.cpp:4
MethodtwoSum
LeetCode/1-two-sum.cpp:4
Methodunite
LeetCode/1135-connecting-cities-with-minimum-cost.cpp:22
Methodunite
LeetCode/323-number-of-connected-components-in-undirected-graph.cpp:13
Methodupdate
LeetCode/308-range-sum-query-2d-mutable.cpp:8
FunctionvalidateBst
O(n) time | O(d) space
AlgoExpert/validate-bst.cpp:12
MethodvisitNeighbors
LeetCode/1042-flower-planting-with-no-adjacent.cpp:3
MethodwallsAndGates
LeetCode/286-walls-and-gates.cpp:3
FunctionwaterArea
AlgoExpert/water-area.cpp:5
MethodwordBreak
LeetCode/139-word-break.cpp:5
FunctionzigzagTraverse
AlgoExpert/zigzag-traverse.cpp:6
← previous201–288 of 288, ranked by callers