MCPcopy Create free account

hub / github.com/MaskRay/LeetCode / functions

Functions1,379 in github.com/MaskRay/LeetCode

Methoddfs
word-break-ii.cc:6
Methoddfs
palindrome-partitioning.cc:49
Methoddfs
leaf-similar-trees.cc:3
Methoddfs
(b: &mut Vec<Vec<char>>, ans: &mut Vec<String>, mut t: &mut Trie, x: usize, y: usize)
word-search-ii.rs:16
Methoddfs
amount-of-time-for-binary-tree-to-be-infected.cc:4
Methoddfs
(u: usize, dep: i32, fenwick: &mut Vec<i32>, g: &Vec<Vec<usize>>, q: &Vec<Vec<(i32, usize)>>, ans: &mut Vec<i3
maximum-genetic-difference-query.rs:5
Methoddfs
(u: usize, graph: &Vec<Vec<i32>>, vis: &mut Vec<i8>)
find-eventual-safe-states.rs:4
Methoddfs
(st: &mut St, mut t: &Trie, bgn: usize)
concatenated-words.rs:56
Methoddfs
maximum-path-quality-of-a-graph.cc:9
Methoddfs1
minimize-the-total-price-of-the-trips.cc:29
Methoddiagonal
design-tic-tac-toe.cc:5
MethoddiffWaysToCompute
different-ways-to-add-parentheses.cc:8
MethoddifferenceOfSum
difference-between-element-sum-and-digit-sum-of-an-array.cc:4
MethoddigArtifacts
count-artifacts-that-can-be-extracted.cc:6
MethoddigitSum
calculate-digit-sum-of-a-string.cc:4
MethoddistanceTraveled
total-distance-traveled.cc:4
Methoddistance_limited_paths_exist
(n: i32, mut es: Vec<Vec<i32>>, qs: Vec<Vec<i32>>)
checking-existence-of-edge-length-limited-paths.rs:3
MethoddistinctIntegers
count-distinct-numbers-on-board.cc:6
MethoddistinctPrimeFactors
distinct-prime-factors-of-product-of-array.cc:4
MethoddistinctSubseqII
distinct-subsequences-ii.cc:4
Methoddistinct_subseq_ii
(s: String)
distinct-subsequences-ii.rs:2
MethoddistributeCandies
distribute-candies.cc:6
MethoddistributeCoins
distribute-coins-in-binary-tree.cc:11
Methoddivide
divide-two-integers.cc:4
MethoddividePlayers
divide-players-into-teams-of-equal-skill.cc:6
MethoddivisorGame
divisor-game.cc:4
Methoddlx
sudoku-solver.cc:31
MethoddoesValidArrayExist
neighboring-bitwise-xor.cc:7
Methoddp
minimize-the-total-price-of-the-trips.cc:36
MethodearliestFullBloom
earliest-possible-day-of-full-bloom.cc:7
Methodearliest_and_latest
(n: i32, first: i32, second: i32)
the-earliest-and-latest-rounds-where-players-compete.rs:3
MethodedgeScore
node-with-highest-edge-score.cc:7
Methodencode
Encodes a list of strings to a single string.
encode-and-decode-strings.cc:6
Methodencode
serialize-and-deserialize-binary-tree.cc:3
Methodeq
(&self, o: &Self)
minimum-cost-to-hire-k-workers.rs:16
MethodequationsPossible
satisfiability-of-equality-equations.cc:4
MethoderaseOverlapIntervals
non-overlapping-intervals.cc:4
MethodescapeMaze
contest/2021-spring/4.cc:9
MethodevalRPN
evaluate-reverse-polish-notation.cc:4
Methodeventual_safe_nodes
(graph: Vec<Vec<i32>>)
find-eventual-safe-states.rs:3
MethodexclusiveTime
exclusive-time-of-functions.cc:4
Functionexist
word-search.cc:4
Methodf
binary-tree-maximum-path-sum.cc:9
Methodf
valid-number.cc:4
Methodf
sum-of-distances-in-tree.cc:6
Methodf
decode-string.cc:3
Methodf
remove-invalid-parentheses.cc:4
Methodf
house-robber-iii.cc:3
Methodf
missing-ranges.cc:3
Methodf
find-and-replace-pattern.cc:3
Methodf
nested-list-weight-sum-ii.cc:4
Methodf
word-search.cc:6
Methodf
find-leaves-of-binary-tree.cc:4
Methodf
validate-binary-search-tree.cc:30
Methodf
search-a-2d-matrix-ii.cc:8
Methodf
roman-to-integer.cc:6
Methodf
n-queens-ii.cc:12
Methodf
unique-word-abbreviation.cc:3
Methodf
word-pattern-ii.cc:7
Methodf
check-if-an-original-string-exists-given-two-encoded-strings.cc:8
Methodf
strobogrammatic-number-ii.cc:3
Methodf
most-frequent-subtree-sum.cc:4
Methodf
convert-sorted-array-to-binary-search-tree.cc:7
Methodf
increasing-order-search-tree.cc:4
Methodf
combination-sum-ii.cc:4
Methodf
word-ladder-ii.cc:9
Methodf
simple-bank-system.cc:6
Methodf
binary-tree-paths.cc:4
Methodf
group-shifted-strings.cc:3
Methodf
path-sum-ii.cc:13
Methodf
design-excel-sum-formula.cc:10
Methodf
count-of-smaller-numbers-after-self.cc:9
Methodf
merge-two-binary-trees.cc:3
Methodf
generalized-abbreviation.cc:4
Methodf
combination-sum.cc:4
Methodf
construct-binary-tree-from-inorder-and-postorder-traversal.cc:38
Methodf
factor-combinations.cc:3
Methodf
making-a-large-island.cc:7
Methodf
strobogrammatic-number-iii.cc:3
Methodf
find-elements-in-a-contaminated-binary-tree.cc:4
Methodf
path-sum-iii.cc:5
Methodf
can-i-win.cc:5
Methodf
restore-ip-addresses.cc:7
Methodf
sum-of-left-leaves.cc:3
Methodf
word-search-ii.cc:43
Methodf
permutations-ii.cc:6
Methodf
n-queens.cc:15
Methodf
find-mode-in-binary-search-tree.cc:4
Methodf
letter-combinations-of-a-phone-number.cc:6
Methodf
symmetric-tree.cc:7
Methodf
k-similar-strings.cc:9
Methodf
count-univalue-subtrees.cc:6
Methodf
ternary-expression-parser.cc:3
Methodf
smallest-value-after-replacing-with-sum-of-prime-factors.cc:3
Methodf
longest-substring-with-at-least-k-repeating-characters.cc:41
Methodf
count-complete-tree-nodes.cc:17
Methodf
distribute-coins-in-binary-tree.cc:4
Methodf
permutations.cc:8
Methodf
construct-binary-tree-from-preorder-and-inorder-traversal.cc:42
Methodf
combination-sum-iii.cc:10
← previousnext →401–500 of 1,379, ranked by callers