Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
Create free account
hub
/
github.com/MaskRay/LeetCode
/ functions
Functions
1,379 in github.com/MaskRay/LeetCode
⨍
Functions
1,379
◇
Types & classes
851
Method
inorderTraversal
binary-tree-inorder-traversal.cc:6
Method
insert
Inserts a value to the set. Returns true if the set did not already contain the specified element. */
insert-delete-getrandom-o1.cc:11
Method
insert
Inserts a word into the trie.
implement-trie-prefix-tree.cc:19
Method
insert
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
Method
insertionSortList
insertion-sort-list.cc:7
Method
intToRoman
integer-to-roman.cc:6
Method
integerBreak
integer-break.cc:4
Method
integerReplacement
integer-replacement.cc:4
Method
interchangeableRectangles
number-of-pairs-of-interchangeable-rectangles.cc:6
Method
interleave
create-maximum-number.cc:167
Method
intersect
intersection-of-two-arrays-ii.cc:4
Method
intersection
intersection-of-two-arrays.cc:4
Method
intersection
intersection-of-multiple-arrays.cc:6
Method
inv
delete-duplicate-folders-in-system.cc:9
Method
inv
find-duplicate-subtrees.cc:12
Method
inv
minimum-number-of-operations-to-make-string-sorted.cc:8
Method
inv
(mut x: i32)
minimum-number-of-operations-to-make-string-sorted.rs:5
Method
invertTree
invert-binary-tree.cc:6
Method
ipv4
validate-ip-address.cc:3
Method
ipv6
validate-ip-address.cc:18
Method
is
sum-of-k-mirror-numbers.cc:38
Method
is
(i: i64)
super-palindromes.rs:11
Method
isAdditiveNumber
additive-number.cc:7
Method
isAlienSorted
verifying-an-alien-dictionary.cc:7
Method
isAnagram
valid-anagram.cc:4
Method
isBalanced
balanced-binary-tree.cc:4
Method
isCircularSentence
(self, sentence: str)
circular-sentence.py:3
Method
isCompleteTree
check-completeness-of-a-binary-tree.cc:11
Method
isConvex
convex-polygon.cc:4
Method
isCousins
cousins-in-binary-tree.cc:13
Method
isEscapePossible
escape-a-large-maze.cc:6
Method
isHappy
happy-number.cc:4
Method
isInterleave
interleaving-string.cc:7
Method
isIsomorphic
isomorphic-strings.cc:4
Method
isMagic
contest/2020-fall/2.cc:6
Method
isMatch
wildcard-matching.cc:4
Method
isMatch
regular-expression-matching.cc:12
Method
isMonotonic
monotonic-array.cc:4
Method
isNumber
valid-number.cc:19
Method
isOneEditDistance
one-edit-distance.cc:4
Method
isPalindrome
valid-palindrome.cc:4
Method
isPalindrome
palindrome-linked-list.cc:14
Method
isPalindrome
palindrome-number.cc:4
Method
isPerfectSquare
valid-perfect-square.cc:6
Method
isPossible
add-edges-to-make-degrees-of-all-nodes-even.cc:6
Method
isPowerOfFour
power-of-four.cc:4
Method
isPowerOfThree
power-of-three.cc:4
Method
isPowerOfTwo
power-of-two.cc:4
Method
isRectangleCover
perfect-rectangle.cc:13
Method
isReflected
line-reflection.cc:4
Method
isRobotBounded
robot-bounded-in-circle.cc:4
Method
isSameTree
same-tree.cc:4
Method
isScramble
scramble-string.cc:8
Method
isSelfCrossing
self-crossing.cc:17
Method
isStrobogrammatic
strobogrammatic-number.cc:4
Method
isSubsequence
is-subsequence.cc:4
Method
isSymmetric
symmetric-tree.cc:4
Method
isUgly
ugly-number.cc:4
Method
isUnique
unique-word-abbreviation.cc:15
Method
isValid
check-if-word-is-valid-after-substitutions.cc:4
Method
isValid
valid-parentheses.cc:4
Method
isValidBST
validate-binary-search-tree.cc:5
Method
isValidSerialization
verify-preorder-serialization-of-a-binary-tree.cc:4
Method
isValidSudoku
valid-sudoku.cc:6
Method
isWinner
determine-the-winner-of-a-bowling-game.cc:13
Method
is_prime
(n: i32)
prime-palindrome.rs:4
Method
is_printable
(grid: Vec<Vec<i32>>)
strange-printer-ii.rs:3
Method
islandPerimeter
island-perimeter.cc:7
Method
job_scheduling
(start_time: Vec<i32>, end_time: Vec<i32>, profit: Vec<i32>)
maximum-profit-in-job-scheduling.rs:3
Method
judgeSquareSum
sum-of-square-numbers.cc:4
Method
jump
jump-game-ii.cc:6
Method
kClosest
k-closest-points-to-origin.cc:4
Method
kIncreasing
minimum-operations-to-make-the-array-k-increasing.cc:7
Method
kInversePairs
k-inverse-pairs-array.cc:5
Method
kMirror
sum-of-k-mirror-numbers.cc:6
Method
kSimilarity
k-similar-strings.cc:31
Method
kSmallestPairs
find-k-pairs-with-smallest-sums.cc:4
Method
kSum
find-the-k-sum-of-an-array.cc:4
Method
killProcess
kill-process.cc:4
Method
kth
finding-mk-average.cc:63
Method
kthSmallest
kth-smallest-element-in-a-bst.cc:4
Method
kthSmallest
kth-smallest-element-in-a-sorted-matrix.cc:4
Method
kth_smallest
(mat: Vec<Vec<i32>>, k: i32)
find-the-kth-smallest-sum-of-a-matrix-with-sorted-rows.rs:3
Method
ladderLength
word-ladder.cc:7
Method
largestBSTSubtree
largest-bst-subtree.cc:23
Method
largestDivisibleSubset
largest-divisible-subset.cc:7
Method
largestIsland
making-a-large-island.cc:13
Method
largestLocal
largest-local-values-in-a-matrix.cc:7
Method
largestNumber
largest-number.cc:7
Method
largestOverlap
image-overlap.cc:7
Method
largestPalindrome
find-the-largest-palindrome-divisible-by-k.cc:6
Method
largestPalindromic
largest-palindromic-number.cc:7
Method
largestPathValue
largest-color-value-in-a-directed-graph.cc:7
Method
largestRectangleArea
largest-rectangle-in-histogram.cc:6
Method
largestSumAfterKNegations
maximize-sum-of-array-after-k-negations.cc:4
Method
largestSumOfAverages
largest-sum-of-averages.cc:7
Method
largestTriangleArea
largest-triangle-area.cc:7
Method
largest_component_size
(nums: Vec<i32>)
largest-component-size-by-common-factor.rs:3
Method
largest_palindrome
(n: i32)
largest-palindrome-product.rs:3
Method
largest_path_value
(colors: String, edges: Vec<Vec<i32>>)
largest-color-value-in-a-directed-graph.rs:2
← previous
next →
701–800 of 1,379, ranked by callers