MCPcopy Create free account

hub / github.com/MaskRay/LeetCode / functions

Functions1,379 in github.com/MaskRay/LeetCode

MethodinorderTraversal
binary-tree-inorder-traversal.cc:6
Methodinsert
Inserts a value to the set. Returns true if the set did not already contain the specified element. */
insert-delete-getrandom-o1.cc:11
Methodinsert
Inserts a word into the trie.
implement-trie-prefix-tree.cc:19
Methodinsert
Inserts a value to the collection. Returns true if the collection did not already contain the specified element. */
insert-delete-getrandom-o1-duplicates-allowed.cc:13
MethodinsertionSortList
insertion-sort-list.cc:7
MethodintToRoman
integer-to-roman.cc:6
MethodintegerBreak
integer-break.cc:4
MethodintegerReplacement
integer-replacement.cc:4
MethodinterchangeableRectangles
number-of-pairs-of-interchangeable-rectangles.cc:6
Methodinterleave
create-maximum-number.cc:167
Methodintersect
intersection-of-two-arrays-ii.cc:4
Methodintersection
intersection-of-two-arrays.cc:4
Methodintersection
intersection-of-multiple-arrays.cc:6
Methodinv
delete-duplicate-folders-in-system.cc:9
Methodinv
find-duplicate-subtrees.cc:12
Methodinv
minimum-number-of-operations-to-make-string-sorted.cc:8
Methodinv
(mut x: i32)
minimum-number-of-operations-to-make-string-sorted.rs:5
MethodinvertTree
invert-binary-tree.cc:6
Methodipv4
validate-ip-address.cc:3
Methodipv6
validate-ip-address.cc:18
Methodis
sum-of-k-mirror-numbers.cc:38
Methodis
(i: i64)
super-palindromes.rs:11
MethodisAdditiveNumber
additive-number.cc:7
MethodisAlienSorted
verifying-an-alien-dictionary.cc:7
MethodisAnagram
valid-anagram.cc:4
MethodisBalanced
balanced-binary-tree.cc:4
MethodisCircularSentence
(self, sentence: str)
circular-sentence.py:3
MethodisCompleteTree
check-completeness-of-a-binary-tree.cc:11
MethodisConvex
convex-polygon.cc:4
MethodisCousins
cousins-in-binary-tree.cc:13
MethodisEscapePossible
escape-a-large-maze.cc:6
MethodisHappy
happy-number.cc:4
MethodisInterleave
interleaving-string.cc:7
MethodisIsomorphic
isomorphic-strings.cc:4
MethodisMagic
contest/2020-fall/2.cc:6
MethodisMatch
wildcard-matching.cc:4
MethodisMatch
regular-expression-matching.cc:12
MethodisMonotonic
monotonic-array.cc:4
MethodisNumber
valid-number.cc:19
MethodisOneEditDistance
one-edit-distance.cc:4
MethodisPalindrome
valid-palindrome.cc:4
MethodisPalindrome
palindrome-linked-list.cc:14
MethodisPalindrome
palindrome-number.cc:4
MethodisPerfectSquare
valid-perfect-square.cc:6
MethodisPossible
add-edges-to-make-degrees-of-all-nodes-even.cc:6
MethodisPowerOfFour
power-of-four.cc:4
MethodisPowerOfThree
power-of-three.cc:4
MethodisPowerOfTwo
power-of-two.cc:4
MethodisRectangleCover
perfect-rectangle.cc:13
MethodisReflected
line-reflection.cc:4
MethodisRobotBounded
robot-bounded-in-circle.cc:4
MethodisSameTree
same-tree.cc:4
MethodisScramble
scramble-string.cc:8
MethodisSelfCrossing
self-crossing.cc:17
MethodisStrobogrammatic
strobogrammatic-number.cc:4
MethodisSubsequence
is-subsequence.cc:4
MethodisSymmetric
symmetric-tree.cc:4
MethodisUgly
ugly-number.cc:4
MethodisUnique
unique-word-abbreviation.cc:15
MethodisValid
check-if-word-is-valid-after-substitutions.cc:4
MethodisValid
valid-parentheses.cc:4
MethodisValidBST
validate-binary-search-tree.cc:5
MethodisValidSerialization
verify-preorder-serialization-of-a-binary-tree.cc:4
MethodisValidSudoku
valid-sudoku.cc:6
MethodisWinner
determine-the-winner-of-a-bowling-game.cc:13
Methodis_prime
(n: i32)
prime-palindrome.rs:4
Methodis_printable
(grid: Vec<Vec<i32>>)
strange-printer-ii.rs:3
MethodislandPerimeter
island-perimeter.cc:7
Methodjob_scheduling
(start_time: Vec<i32>, end_time: Vec<i32>, profit: Vec<i32>)
maximum-profit-in-job-scheduling.rs:3
MethodjudgeSquareSum
sum-of-square-numbers.cc:4
Methodjump
jump-game-ii.cc:6
MethodkClosest
k-closest-points-to-origin.cc:4
MethodkIncreasing
minimum-operations-to-make-the-array-k-increasing.cc:7
MethodkInversePairs
k-inverse-pairs-array.cc:5
MethodkMirror
sum-of-k-mirror-numbers.cc:6
MethodkSimilarity
k-similar-strings.cc:31
MethodkSmallestPairs
find-k-pairs-with-smallest-sums.cc:4
MethodkSum
find-the-k-sum-of-an-array.cc:4
MethodkillProcess
kill-process.cc:4
Methodkth
finding-mk-average.cc:63
MethodkthSmallest
kth-smallest-element-in-a-bst.cc:4
MethodkthSmallest
kth-smallest-element-in-a-sorted-matrix.cc:4
Methodkth_smallest
(mat: Vec<Vec<i32>>, k: i32)
find-the-kth-smallest-sum-of-a-matrix-with-sorted-rows.rs:3
MethodladderLength
word-ladder.cc:7
MethodlargestBSTSubtree
largest-bst-subtree.cc:23
MethodlargestDivisibleSubset
largest-divisible-subset.cc:7
MethodlargestIsland
making-a-large-island.cc:13
MethodlargestLocal
largest-local-values-in-a-matrix.cc:7
MethodlargestNumber
largest-number.cc:7
MethodlargestOverlap
image-overlap.cc:7
MethodlargestPalindrome
find-the-largest-palindrome-divisible-by-k.cc:6
MethodlargestPalindromic
largest-palindromic-number.cc:7
MethodlargestPathValue
largest-color-value-in-a-directed-graph.cc:7
MethodlargestRectangleArea
largest-rectangle-in-histogram.cc:6
MethodlargestSumAfterKNegations
maximize-sum-of-array-after-k-negations.cc:4
MethodlargestSumOfAverages
largest-sum-of-averages.cc:7
MethodlargestTriangleArea
largest-triangle-area.cc:7
Methodlargest_component_size
(nums: Vec<i32>)
largest-component-size-by-common-factor.rs:3
Methodlargest_palindrome
(n: i32)
largest-palindrome-product.rs:3
Methodlargest_path_value
(colors: String, edges: Vec<Vec<i32>>)
largest-color-value-in-a-directed-graph.rs:2
← previousnext →701–800 of 1,379, ranked by callers