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
↓ 467 callers
Function
REP
create-maximum-number.cc:132
↓ 244 callers
Function
f
maximum-difference-between-node-and-ancestor.cc:4
↓ 175 callers
Method
push
min-stack.cc:5
↓ 126 callers
Method
top
min-stack.cc:15
↓ 107 callers
Function
FOR
number-of-ways-to-rearrange-sticks-with-k-sticks-visible.cc:68
↓ 106 callers
Method
empty
Return whether the stack is empty.
implement-stack-using-queues.cc:26
↓ 106 callers
Method
pop
min-stack.cc:10
↓ 68 callers
Method
insert
insert-interval.cc:4
↓ 66 callers
Method
erase
finding-mk-average.cc:265
↓ 39 callers
Method
rev
palindrome-linked-list.cc:3
↓ 32 callers
Method
find
number-of-islands-ii.cc:3
↓ 13 callers
Function
mconcat
finding-mk-average.cc:218
↓ 10 callers
Function
join
finding-mk-average.cc:121
↓ 8 callers
Method
peek
Returns the next element in the iteration without advancing the iterator.
peeking-iterator.cc:31
↓ 7 callers
Function
insert
contest/2021-spring/守卫城堡.cc:10
↓ 7 callers
Method
mconcat
finding-mk-average.cc:111
↓ 6 callers
Function
REP
number-of-ways-to-rearrange-sticks-with-k-sticks-visible.cc:56
↓ 6 callers
Method
get
lru-cache.cc:13
↓ 6 callers
Function
insert
minimum-total-distance-traveled.cc:11
↓ 5 callers
Function
gcd
rotate-array.cc:18
↓ 4 callers
Function
REP
longest-common-subpath.cc:26
↓ 4 callers
Function
bucket
create-maximum-number.cc:12
↓ 4 callers
Function
erase
finding-mk-average.cc:161
↓ 4 callers
Method
reverse
reverse-integer.cc:4
↓ 4 callers
Function
size
finding-mk-average.cc:119
↓ 4 callers
Function
split_by_rank
finding-mk-average.cc:132
↓ 4 callers
Method
sqrt
sqrtx.cc:6
↓ 3 callers
Function
augment
contest/2021-spring/守卫城堡.cc:15
↓ 3 callers
Function
minus_to_plus
create-maximum-number.cc:39
↓ 3 callers
Function
plus_to_minus
create-maximum-number.cc:27
↓ 3 callers
Method
sum
finding-mk-average.cc:70
↓ 2 callers
Method
add
count-of-range-sum.cc:5
↓ 2 callers
Method
cmp
(&self, o: &Self)
minimum-cost-to-hire-k-workers.rs:6
↓ 2 callers
Method
empty
Return whether the queue is empty.
implement-queue-using-stacks.cc:31
↓ 2 callers
Function
fft_interleave
number-of-ways-to-rearrange-sticks-with-k-sticks-visible.cc:44
↓ 2 callers
Method
pow
powx-n.cc:4
↓ 2 callers
Method
remove
Removes a value from the set. Returns true if the set contained the specified element. */
insert-delete-getrandom-o1.cc:18
↓ 2 callers
Function
split_by_key
finding-mk-average.cc:147
↓ 2 callers
Function
xor32
finding-mk-average.cc:100
↓ 1 callers
Method
append
sudoku-solver.cc:24
↓ 1 callers
Function
augment
minimum-total-distance-traveled.cc:49
↓ 1 callers
Method
dfs
(self: &mut Self, s: &str)
word-break-ii.rs:5
↓ 1 callers
Method
dfs
(&mut self, i: usize)
palindrome-partitioning.rs:6
↓ 1 callers
Method
eq
erect-the-fence.cc:9
↓ 1 callers
Function
fft_dif2
number-of-ways-to-rearrange-sticks-with-k-sticks-visible.cc:16
↓ 1 callers
Function
fft_prepare
number-of-ways-to-rearrange-sticks-with-k-sticks-visible.cc:10
↓ 1 callers
Function
heap_down
minimum-weighted-subgraph-with-the-required-paths.cc:13
↓ 1 callers
Function
heap_up
minimum-weighted-subgraph-with-the-required-paths.cc:6
↓ 1 callers
Function
ifft_dit2
number-of-ways-to-rearrange-sticks-with-k-sticks-visible.cc:29
↓ 1 callers
Function
ifft_interleave
number-of-ways-to-rearrange-sticks-with-k-sticks-visible.cc:53
↓ 1 callers
Function
ka
create-maximum-number.cc:50
↓ 1 callers
Function
labelCorrecting
minimum-total-distance-traveled.cc:106
↓ 1 callers
Function
main
create-maximum-number.cc:145
↓ 1 callers
Function
minCost
minimum-total-distance-traveled.cc:129
↓ 1 callers
Method
next
happy-number.cc:17
↓ 1 callers
Method
pop
Removes the element on top of the stack.
implement-stack-using-queues.cc:16
↓ 1 callers
Method
pop
Removes the element from in front of queue.
implement-queue-using-stacks.cc:19
↓ 1 callers
Method
push
Push element x to the back of queue.
implement-queue-using-stacks.cc:14
↓ 1 callers
Function
relabel
minimum-total-distance-traveled.cc:18
↓ 1 callers
Function
rising_factorial
number-of-ways-to-rearrange-sticks-with-k-sticks-visible.cc:64
↓ 1 callers
Function
suffix_array
longest-common-subpath.cc:8
Method
AllOne
Initialize your data structure here. */
all-oone-data-structure.cc:8
Method
BSTIterator
binary-search-tree-iterator.cc:6
Method
Bank
simple-bank-system.cc:5
Method
ExamRoom
exam-room.cc:7
Method
Excel
design-excel-sum-formula.cc:29
Method
FOR
number-of-subarrays-with-lcm-equal-to-k.cc:11
Method
FOR
count-vowel-substrings-of-a-string.cc:11
Method
FOR
k-divisible-elements-subarrays.cc:17
Method
FOR
text-justification.cc:14
Method
FOR
sum-of-k-mirror-numbers.cc:9
Method
FOR
burst-balloons.cc:16
Method
FOR
max-sum-of-sub-matrix-no-larger-than-k.cc:19
Method
FindElements
find-elements-in-a-contaminated-binary-tree.cc:12
Method
HitCounter
Initialize your data structure here. */
design-hit-counter.cc:6
Method
LRUCache
lru-cache.cc:4
Method
Logger
Initialize your data structure here. */
logger-rate-limiter.cc:6
Method
MKAverage
finding-mk-average.cc:9
Method
MinStack
min-stack.cc:4
Method
MovingAverage
Initialize your data structure here. */
moving-average-from-data-stream.cc:8
Method
NestedIterator
flatten-nested-list-iterator.cc:22
Method
NumArray
range-sum-query-immutable.cc:7
Method
NumArray
range-sum-query-mutable.cc:5
Method
NumMatrix
range-sum-query-2d-immutable.cc:7
Method
NumMatrix
range-sum-query-2d-mutable.cc:21
Method
PeekingIterator
peeking-iterator.cc:23
Method
PhoneDirectory
Initialize your data structure here @param maxNumbers - The maximum numbers that can be stored in the phone directory. */
design-phone-directory.cc:9
Method
REP
count-good-triplets-in-an-array.cc:27
Method
REP
total-appeal-of-a-string.cc:9
Method
REP
delete-operation-for-two-strings.cc:11
Method
REP
groups-of-strings.cc:27
Method
REP
buddy-strings.cc:10
Method
REP
largest-color-value-in-a-directed-graph.cc:19
Method
REP
delete-columns-to-make-sorted-iii.cc:11
Method
REP
bomb-enemy.cc:10
Method
REP
minimum-absolute-sum-difference.cc:14
Method
REP
longest-substring-of-all-vowels-in-order.cc:49
Method
REP
number-of-subarrays-with-lcm-equal-to-k.cc:9
Method
REP
longest-subsequence-repeated-k-times.cc:19
Method
REP
image-overlap.cc:13
next →
1–100 of 1,379, ranked by callers