| 2081 |
Sum of k-Mirror Numbers |
sum-of-k-mirror-numbers.cc |
| 2078 |
Two Furthest Houses With Different Colors |
two-furthest-houses-with-different-colors.cc |
| 2065 |
Maximum Path Quality of a Graph |
maximum-path-quality-of-a-graph.cc |
| 2064 |
Minimized Maximum of Products Distributed to Any Store |
minimized-maximum-of-products-distributed-to-any-store.cc |
| 2063 |
Vowels of All Substrings |
vowels-of-all-substrings.cc |
| 2062 |
Count Vowel Substrings of a String |
count-vowel-substrings-of-a-string.cc |
| 2060 |
Check if an Original String Exists Given Two Encoded Strings |
check-if-an-original-string-exists-given-two-encoded-strings.cc |
| 2059 |
Minimum Operations to Convert Number |
minimum-operations-to-convert-number.cc |
| 2057 |
Smallest Index With Equal Value |
smallest-index-with-equal-value.nim |
| 2050 |
Parallel Courses III |
parallel-courses-iii.nim |
| 2049 |
Count Nodes With the Highest Score |
count-nodes-with-the-highest-score.nim |
| 2048 |
Next Greater Numerically Balanced Number |
next-greater-numerically-balanced-number.cc |
| 2047 |
Number of Valid Words in a Sentence |
number-of-valid-words-in-a-sentence.cc |
| 2045 |
Second Minimum Time to Reach Destination |
second-minimum-time-to-reach-destination.nim |
| 2044 |
Count Number of Maximum Bitwise-OR Subsets |
count-number-of-maximum-bitwise-or-subsets.nim |
| 2043 |
Simple Bank System |
simple-bank-system.cc |
| 2042 |
Check if Numbers Are Ascending in a Sentence |
check-if-numbers-are-ascending-in-a-sentence.cc |
| 2055 |
Plates Between Candles |
plates-between-candles.nim |
| 2054 |
Two Best Non-Overlapping Events |
two-best-non-overlapping-events.nim |
| 2035 |
Partition Array Into Two Arrays to Minimize Sum Difference |
partition-array-into-two-arrays-to-minimize-sum-difference.nim |
| 2033 |
Minimum Operations to Make a Uni-Value Grid |
minimum-operations-to-make-a-uni-value-grid.nim |
| 2032 |
Two Out of Three |
two-out-of-three.cc |
| 2030 |
Smallest K-Length Subsequence With Occurrences of a Letter |
smallest-k-length-subsequence-with-occurrences-of-a-letter.nim |
| 2029 |
Stone Game IX |
stone-game-ix.nim |
| 2028 |
Find Missing Observations |
find-missing-observations.cc |
| 2027 |
Minimum Moves to Convert String |
minimum-moves-to-convert-string.cc |
| 2040 |
Kth Smallest Product of Two Sorted Arrays |
kth-smallest-product-of-two-sorted-arrays.nim |
| 2019 |
The Score of Students Solving Math Expression |
the-score-of-students-solving-math-expression.nim |
| 2018 |
Check if Word Can Be Placed In Crossword |
check-if-word-can-be-placed-in-crossword.cc |
| 2017 |
Grid Game |
grid-game.cc |
| 2016 |
Maximum Difference Between Increasing Elements |
maximum-difference-between-increasing-elements.cc |
| 2014 |
Longest Subsequence Repeated k Times |
longest-subsequence-repeated-k-times.cc |
| 2013 |
Detect Squares |
detect-squares.nim |
| 2012 |
Sum of Beauty in the Array |
sum-of-beauty-in-the-array.cc |
| 2011 |
Final Value of Variable After Performing Operations |
final-value-of-variable-after-performing-operations.cc |
| 2025 |
Maximum Number of Ways to Partition an Array |
maximum-number-of-ways-to-partition-an-array.nim |
| 2024 |
Maximize the Confusion of an Exam |
maximize-the-confusion-of-an-exam.nim |
| 2003 |
Smallest Missing Genetic Value in Each Subtree |
smallest-missing-genetic-value-in-each-subtree.cc |
| 2002 |
Maximum Product of the Length of Two Palindromic Subsequences |
maximum-product-of-the-length-of-two-palindromic-subsequences.rs |
| 2001 |
Number of Pairs of Interchangeable Rectangles |
number-of-pairs-of-interchangeable-rectangles.cc |
| 1998 |
GCD Sort of an Array |
gcd-sort-of-an-array.rs |
| 1997 |
First Day Where You Have Been in All the Rooms |
first-day-where-you-have-been-in-all-the-rooms.rs |
| 1996 |
The Number of Weak Characters in the Game |
the-number-of-weak-characters-in-the-game.rs |
| 1995 |
Count Special Quadruplets |
count-special-quadruplets.cc |
| 2009 |
Minimum Number of Operations to Make Array Continuous |
minimum-number-of-operations-to-make-array-continuous.rs |
| 2008 |
Maximum Earnings From Taxi |
maximum-earnings-from-taxi.nim |
| 1986 |
Minimum Number of Work Sessions to Finish the Tasks |
minimum-number-of-work-sessions-to-finish-the-tasks.rs |
| 1982 |
Find Array Given Subset Sums |
find-array-given-subset-sums.rs |
| 1994 |
The Number of Good Subsets |
the-number-of-good-subsets.rs |
| 1970 |
Last Day Where You Can Still Cross |
last-day-where-you-can-still-cross.rs |
| 1969 |
Minimum Non-Zero Product of the Array Elements |
minimum-non-zero-product-of-the-array-elements.rs |
| 1963 |
Minimum Number of Swaps to Make the String Balanced |
minimum-number-of-swaps-to-make-the-string-balanced.rs |
| 1977 |
Number of Ways to Separate Numbers |
number-of-ways-to-separate-numbers.rs |
| 1976 |
Number of Ways to Arrive at Destination |
number-of-ways-to-arrive-at-destination.rs |
| 1975 |
Maximum Matrix Sum |
maximum-matrix-sum.rs |
| 1955 |
Count Number of Special Subsequences |
count-number-of-special-subsequences.rs |
| 1953 |
Maximum Number of Weeks for Which You Can Work |
maximum-number-of-weeks-for-which-you-can-work.rs |
| 1959 |
Minimum Total Space Wasted With K Resizing Operations |
minimum-total-space-wasted-with-k-resizing-operations.rs |
| 1948 |
Delete Duplicate Folders in System |
delete-duplicate-folders-in-system.cc |
| 1947 |
Maximum Compatibility Score Sum |
maximum-compatibility-score-sum.rs |
| 1938 |
Maximum Genetic Difference Query |
maximum-genetic-difference-query.rs |
| 1937 |
Maximum Number of Points with Cost |
maximum-number-of-points-with-cost.rs |
| 1931 |
Painting a Grid With Three Different Colors |
painting-a-grid-with-three-different-colors.rs |
| 1932 |
Merge BSTs to Create Single BST |
merge-bsts-to-create-single-bst.cc |
| 1943 |
Describe the Painting |
describe-the-painting.rs |
| 1942 |
The Number of the Smallest Unoccupied Chair |
the-number-of-the-smallest-unoccupied-chair.rs |
| 1923 |
Longest Common Subpath |
longest-common-subpath.rs |
| 1915 |
Number of Wonderful Substrings |
number-of-wonderful-substrings.rs |
| 1914 |
Cyclically Rotating a Grid |
cyclically-rotating-a-grid.rs |
| 1928 |
Minimum Cost to Reach Destination in Time |
minimum-cost-to-reach-destination-in-time.rs |
| 1906 |
Minimum Absolute Difference Queries |
minimum-absolute-difference-queries.rs |
| 1900 |
The Earliest and Latest Rounds Where Players Compete |
the-earliest-and-latest-rounds-where-players-compete.rs |
| 1898 |
Maximum Number of Removable Characters |
maximum-number-of-removable-characters.rs |
| 1911 |
Maximum Alternating Subsequence Sum |
maximum-alternating-subsequence-sum.rs |
| 1909 |
Remove One Element to Make the Array Strictly Increasing |
remove-one-element-to-make-the-array-strictly-increasing.rs |
| 1889 |
Minimum Space Wasted From Packaging |
minimum-space-wasted-from-packaging.rs |
| 1888 |
Minimum Number of Flips to Make the Binary String Alternating |
minimum-number-of-flips-to-make-the-binary-string-alternating.rs |
| 1883 |
Minimum Skips to Arrive at Meeting On Time |
minimum-skips-to-arrive-at-meeting-on-time.rs |
| 1882 |
Process Tasks Using Servers |
process-tasks-using-servers.rs |
| 1896 |
Minimum Cost to Change the Final Value of Expression |
minimum-cost-to-change-the-final-value-of-expression.rs |
| 1872 |
Stone Game VIII |
stone-game-viii.rs |
| 1871 |
Jump Game VII |
jump-game-vii.rs |
| 1870 |
Minimum Speed to Arrive on Time |
minimum-speed-to-arrive-on-time.rs |
| 1866 |
Number of Ways to Rearrange Sticks With K Sticks Visible |
number-of-ways-to-rearrange-sticks-with-k-sticks-visible.rs |
| 1878 |
Get Biggest Three Rhombus Sums in a Grid |
get-biggest-three-rhombus-sums-in-a-grid.rs |
| 1857 |
Largest Color Value in a Directed Graph |
largest-color-value-in-a-directed-graph.rs |
| 1856 |
Maximum Subarray Min-Product |
maximum-subarray-min-product.rs |
| 1850 |
Minimum Adjacent Swaps to Reach the Kth Smallest Number |
minimum-adjacent-swaps-to-reach-the-kth-smallest-number.rs |
| 1851 |
Minimum Interval to Include Each Query |
minimum-interval-to-include-each-query.rs |
| 1849 |
Splitting a String Into Descending Consecutive Values |
splitting-a-string-into-descending-consecutive-values.rs |
| 1848 |
Minimum Distance to the Target Element |
minimum-distance-to-the-target-element.rs |
| 1861 |
Rotating the Box |
rotating-the-box.rs |
| 1840 |
Maximum Building Height |
maximum-building-height.rs |
| 1839 |
Longest Substring Of All Vowels in Order |
longest-substring-of-all-vowels-in-order.rs |
| 1838 |
Frequency of the Most Frequent Element |
frequency-of-the-most-frequent-element.rs |
| 1837 |
Sum of Digits in Base K |
sum-of-digits-in-base-k.cc |
| 1835 |
Find XOR Sum of All Pairs Bitwise AND |
find-xor-sum-of-all-pairs-bitwise-and.rs |
| 1834 |
Single-Threaded CPU |
single-threaded-cpu.rs |
| 1833 |
Maximum Ice Cream Bars |
maximum-ice-cream-bars.cc |
| 1832 |
Check if the Sentence Is Pangram |
check-if-the-sentence-is-pangram.cc |
| 1847 |
Closest Room |
closest-room.rs |
| 1846 |
Maximum Element After Decreasing and Rearranging |
maximum-element-after-decreasing-and-rearranging.rs |
| 1825 |
Finding MK Average |
finding-mk-average.cc |
| 1824 |
Minimum Sideway Jumps |
minimum-sideway-jumps.cc |
| 1819 |
Number of Different Subsequences GCDs |
number-of-different-subsequences-gcds.cc |
| 1818 |
Minimum Absolute Sum Difference |
minimum-absolute-sum-difference.cc |
| 1817 |
Finding the Users Active Minutes |
finding-the-users-active-minutes.cc |
| 1816 |
Truncate Sentence |
truncate-sentence.cc |
| 1830 |
Minimum Number of Operations to Make String Sorted |
minimum-number-of-operations-to-make-string-sorted.rs |
| 1802 |
Maximum Value at a Given Index in a Bounded Array |
maximum-value-at-a-given-index-in-a-bounded-array.nim |
| 1801 |
Number of Orders in the Backlog |
number-of-orders-in-the-backlog.rs |
| 1771 |
Maximize Palindrome Length From Subsequences |
maximize-palindrome-length-from-subsequences.cc |
| 1770 |
Maximum Score from Performing Multiplication Operations |
maximum-score-from-performing-multiplication-operations.cc |
| 1769 |
Minimum Number of Operations to Move All Balls to Each Box |
minimum-number-of-operations-to-move-all-balls-to-each-box.cc |
| 1768 |
Merge Strings Alternately |
merge-strings-alternately.cc |
| 1755 |
Closest Subsequence Sum |
closest-subsequence-sum.nim |
| 1765 |
Map of Highest Peak |
map-of-highest-peak.cc |
| 1766 |
Tree of Coprimes |
tree-of-coprimes.cc |
| 1764 |
Form Array by Concatenating Subarrays of Another Array |
form-array-by-concatenating-subarrays-of-another-array.cc |
| 1737 |
Change Minimum Characters to Satisfy One of Three Conditions |
change-minimum-characters-to-satisfy-one-of-three-conditions.rs |
| 1751 |
Maximum Number of Events That Can Be Attended II |
maximum-number-of-events-that-can-be-attended-ii.nim |
| 1698 |
Number of Distinct Substrings in a String |
number-of-distinct-substrings-in-a-string.rs |
| 1713 |
Minimum Operations to Make a Subsequence |
minimum-operations-to-make-a-subsequence.rs |
| 1707 |
Maximum XOR With an Element From Array |
maximum-xor-with-an-element-from-array.rs |
| 1697 |
Checking Existence of Edge Length Limited Paths |
checking-existence-of-edge-length-limited-paths.rs |
| 1694 |
Reformat Phone Number |
reformat-phone-number.cc |
| 1703 |
Minimum Adjacent Swaps for K Consecutive Ones |
minimum-adjacent-swaps-for-k-consecutive-ones.nim |
| 1674 |
Minimum Moves to Make Array Complementary |
minimum-moves-to-make-array-complementary.rs |
| 1673 |
Find the Most Competitive Subsequence |
find-the-most-competitive-subsequence.nim |
| 1655 |
Distribute Repeating Integers |
distribute-repeating-integers.rs |
| 1601 |
Maximum Number of Achievable Transfer Requests |
maximum-number-of-achievable-transfer-requests.cc |
| 1591 |
Strange Printer II |
strange-printer-ii.rs |
| 1589 |
Maximum Sum Obtained of Any Permutation |
maximum-sum-obtained-of-any-permutation.rs |
| 1542 |
Find Longest Awesome Substring |
find-longest-awesome-substring.rs |
| 1541 |
Minimum Insertions to Balance a Parentheses String |
minimum-insertions-to-balance-a-parentheses-string.rs |
| 1499 |
Max Value of Equation |
max-value-of-equation.cc |
| 1494 |
Parallel Courses II |
parallel-courses-ii.rs |
| 1452 |
People Whose List of Favorite Companies Is Not a Subset of Another List |
people-whose-list-of-favorite-companies-is-not-a-subset-of-another-list.rs |
| 1462 |
Course Schedule IV |
course-schedule-iv.rs |
| 1439 |
Find the Kth Smallest Sum of a Matrix With Sorted Rows |
find-the-kth-smallest-sum-of-a-matrix-with-sorted-rows.rs |
| 1383 |
Maximum Performance of a Team |
maximum-performance-of-a-team.rs |
| 1353 |
Maximum Number of Events That Can Be Attended |
maximum-number-of-events-that-can-be-attended.rs |
| 1371 |
Find the Longest Substring Containing Vowels in Even Counts |
find-the-longest-substring-containing-vowels-in-even-counts.rs |
| 1284 |
Minimum Number of Flips to Convert Binary Matrix to Zero Matrix |
minimum-number-of-flips-to-convert-binary-matrix-to-zero-matrix.rs |
| 1263 |
Minimum Moves to Move a Box to Their Target Location |
minimum-moves-to-move-a-box-to-their-target-location.cc |
| 1262 |
Greatest Sum Divisible by Three |
greatest-sum-divisible-by-three.cc |
| 1261 |
Find Elements in a Contaminated Binary Tree |
find-elements-in-a-contaminated-binary-tree.cc |
| 1260 |
Shift 2D Grid |
shift-2d-grid.cc |
| 1255 |
Maximum Score Words Formed by Letters |
maximum-score-words-formed-by-letters.cc |
| 1254 |
Number of Closed Islands |
number-of-closed-islands.cc |
| 1253 |
Reconstruct a 2-Row Binary Matrix |
reconstruct-a-2-row-binary-matrix.cc |
| 1252 |
Cells with Odd Values in a Matrix |
cells-with-odd-values-in-a-matrix.cc |
| 1235 |
Maximum Profit in Job Scheduling |
maximum-profit-in-job-scheduling.rs |
| 1960 |
Maximum Product of the Length of Two Palindromic Substrings |
maximum-product-of-the-length-of-two-palindromic-substrings.rs |
| 1862 |
Sum of Floored Pairs |
sum-of-floored-pairs.rs |
| 1916 |
Count Ways to Build Rooms in an Ant Colony |
count-ways-to-build-rooms-in-an-ant-colony.rs |
| 2079 |
Watering Plants |
watering-plants.cc |
| 1944 |
Number of Visible People in a Queue |
number-of-visible-people-in-a-queue.rs |
| 1405 |
Longest Happy String |
longest-happy-string.rs |
| 2080 |
Range Frequency Queries |
range-frequency-queries.cc |
| 1627 |
Graph Connectivity With Threshold |
graph-connectivity-with-threshold.rs |
| 1109 |
Corporate Flight Bookings |
corporate-flight-bookings.rs |
| 1105 |
Filling Bookcase Shelves |
filling-bookcase-shelves.rs |
| 1094 |
Car Pooling |
car-pooling.rs |
| 1081 |
Smallest Subsequence of Distinct Characters |
smallest-subsequence-of-distinct-characters.nim |
| 1054 |
Distant Barcodes |
distant-barcodes.rs |
| 1044 |
Longest Duplicate Substring |
longest-duplicate-substring.rs |
| 1043 |
Partition Array for Maximum Sum |
partition-array-for-maximum-sum.rs |
| 1042 |
Flower Planting With No Adjacent |
flower-planting-with-no-adjacent.cc |
| 1041 |
Robot Bounded In Circle |
robot-bounded-in-circle.cc |
| 1036 |
Escape a Large Maze |
escape-a-large-maze.cc |
| 1035 |
Uncrossed Lines |
uncrossed-lines.cc |
| 1034 |
Coloring A Border |
coloring-a-border.cc |
| 1033 |
Moving Stones Until Consecutive |
moving-stones-until-consecutive.cc |
| 1032 |
Stream of Characters |
stream-of-characters.cc |
| 1031 |
Maximum Sum of Two Non-Overlapping Subarrays |
maximum-sum-of-two-non-overlapping-subarrays.cc |
| 1029 |
Two City Scheduling |
two-city-scheduling.cc |
| 1030 |
Matrix Cells in Distance Order |
matrix-cells-in-distance-order.cc |
| 1028 |
Recover a Tree From Preorder Traversal |
recover-a-tree-from-preorder-traversal.cc |
| 1026 |
Maximum Difference Between Node and Ancestor |
maximum-difference-between-node-and-ancestor.cc |
| 1025 |
Divisor Game |
divisor-game.cc |
| 1020 |
Number of Enclaves |
number-of-enclaves.cc |
| 1019 |
Next Greater Node In Linked List |
next-greater-node-in-linked-list.cc |
| 1018 |
Binary Prefix Divisible By 5 |
binary-prefix-divisible-by-5.cc |
| 1017 |
Convert to Base -2 |
convert-to-base-2.cc |
| 1016 |
Binary String With Substrings Representing 1 To N |
binary-string-with-substrings-representing-1-to-n.cc |
| 1015 |
Smallest Integer Divisible by K |
smallest-integer-divisible-by-k.cc |
| 1014 |
Best Sightseeing Pair |
best-sightseeing-pair.cc |
| 1013 |
Partition Array Into Three Parts With Equal Sum |
partition-array-into-three-parts-with-equal-sum.cc |
| 1011 |
Capacity To Ship Packages Within D Days |
capacity-to-ship-packages-within-d-days.cc |
| 1010 |
Pairs of Songs With Total Durations Divisible by 60 |
pairs-of-songs-with-total-durations-divisible-by-60.cc |
| 1009 |
Complement of Base 10 Integer |
complement-of-base-10-integer.cc |
| 1008 |
Construct Binary Search Tree from Preorder Traversal |
construct-binary-search-tree-from-preorder-traversal.cc |
| 1007 |
Minimum Domino Rotations For Equal Row |
minimum-domino-rotations-for-equal-row.cc |
| 1006 |
Clumsy Factorial |
clumsy-factorial.cc |
| 1005 |
Maximize Sum Of Array After K Negations |
maximize-sum-of-array-after-k-negations.cc |
| 1004 |
Max Consecutive Ones III |
max-consecutive-ones-iii.nim |
| 1003 |
Check If Word Is Valid After Substitutions |
check-if-word-is-valid-after-substitutions.cc |
| 1002 |
Find Common Characters |
find-common-characters.cc |
| 1000 |
Minimum Cost to Merge Stones |
minimum-cost-to-merge-stones.cc |
| 996 |
Number of Squareful Arrays |
number-of-squareful-arrays.cc |
| 995 |
Minimum Number of K Consecutive Bit Flips |
minimum-number-of-k-consecutive-bit-flips.rs |
| 994 |
Rotting Oranges |
rotting-oranges.cc |
| 993 |
Cousins in Binary Tree |
cousins-in-binary-tree.cc |
| 992 |
Subarrays with K Different Integers |
subarrays-with-k-different-integers.cc |
| 991 |
Broken Calculator |
broken-calculator.cc |
| 990 |
Satisfiability of Equality Equations |
satisfiability-of-equality-equations.cc |
| 989 |
Add to Array-Form of Integer |
add-to-array-form-of-integer.cc |
| 984 |
String Without AAA or BBB |
string-without-aaa-or-bbb.rs |
| 980 |
Unique Paths III |
unique-paths-iii.cc |
| 979 |
Distribute Coins in Binary Tree |
distribute-coins-in-binary-tree.cc |
| 978 |
Longest Turbulent Subarray |
longest-turbulent-subarray.cc |
| 977 |
Squares of a Sorted Array |
squares-of-a-sorted-array.cc |
| 973 |
K Closest Points to Origin |
k-closest-points-to-origin.cc |
| 960 |
Delete Columns to Make Sorted III |
delete-columns-to-make-sorted-iii.cc |
| 959 |
Regions Cut By Slashes |
regions-cut-by-slashes.cc |
| 958 |
Check Completeness of a Binary Tree |
check-completeness-of-a-binary-tree.cc |
| 957 |
Prison Cells After N Days |
prison-cells-after-n-days.cc |
| 956 |
Tallest Billboard |
tallest-billboard.cc |
| 955 |
Delete Columns to Make Sorted II |
delete-columns-to-make-sorted-ii.cc |
| 954 |
Array of Doubled Pairs |
array-of-doubled-pairs.cc |
| 953 |
Verifying an Alien Dictionary |
verifying-an-alien-dictionary.cc |
| 952 |
Largest Component Size by Common Factor |
largest-component-size-by-common-factor.rs |
| 940 |
Distinct Subsequences II |
distinct-subsequences-ii.rs |
| 939 |
Minimum Area Rectangle |
minimum-area-rectangle.cc |
| 938 |
Range Sum of BST |
range-sum-of-bst.cc |
| 932 |
Beautiful Array |
beautiful-array.cc |
| 931 |
Minimum Falling Path Sum |
minimum-falling-path-sum.cc |
| 930 |
Binary Subarrays With Sum |
binary-subarrays-with-sum.nim |
| 929 |
Unique Email Addresses |
unique-email-addresses.cc |
| 921 |
Minimum Add to Make Parentheses Valid |
minimum-add-to-make-parentheses-valid.rs |
| 911 |
Online Election |
online-election.cc |
| 910 |
Smallest Range II |
smallest-range-ii.cc |
| 909 |
Snakes and Ladders |
snakes-and-ladders.cc |
| 908 |
Smallest Range I |
smallest-range-i.cc |
| 907 |
Sum of Subarray Minimums |
sum-of-subarray-minimums.rs |
| 906 |
Super Palindromes |
super-palindromes.rs |
| 903 |
Valid Permutations for DI Sequence |
valid-permutations-for-di-sequence.rs |
| 902 |
Numbers At Most N Given Digit Set |
numbers-at-most-n-given-digit-set.cc |
| 901 |
Online Stock Span |
online-stock-span.cc |
| 900 |
RLE Iterator |
rle-iterator.cc |
| 899 |
Orderly Queue |
orderly-queue.cc |
| 898 |
Bitwise ORs of Subarrays |
bitwise-ors-of-subarrays.cc |
| 897 |
Increasing Order Search Tree |
increasing-order-search-tree.cc |
| 896 |
Monotonic Array |
monotonic-array.cc |
| 891 |
Sum of Subsequence Widths |
sum-of-subsequence-widths.cc |
| 890 |
Find and Replace Pattern |
find-and-replace-pattern.cc |
| 889 |
Construct Binary Tree from Preorder and Postorder Traversal |
construct-binary-tree-from-preorder-and-postorder-traversal.cc |
| 888 |
Fair Candy Swap |
fair-candy-swap.cc |
| 883 |
Projection Area of 3D Shapes |
projection-area-of-3d-shapes.cc |
| 882 |
Reachable Nodes In Subdivided Graph |
reachable-nodes-in-subdivided-graph.cc |
| 881 |
Boats to Save People |
boats-to-save-people.cc |
| 880 |
Decoded String at Index |
decoded-string-at-index.cc |
| 875 |
Koko Eating Bananas |
koko-eating-bananas.cc |
| 874 |
Walking Robot Simulation |
walking-robot-simulation.cc |
| 873 |
Length of Longest Fibonacci Subsequence |
length-of-longest-fibonacci-subsequence.cc |
| 872 |
Leaf-Similar Trees |
leaf-similar-trees.cc |
| 871 |
Minimum Number of Refueling Stops |
minimum-number-of-refueling-stops.cc |
| 870 |
Advantage Shuffle |
advantage-shuffle.cc |
| 869 |
Reordered Power of 2 |
reordered-power-of-2.cc |
| 868 |
Binary Gap |
binary-gap.cc |
| 866 |
Prime Palindrome |
prime-palindrome.rs |
| 859 |
Buddy Strings |
buddy-strings.cc |
| 858 |
Mirror Reflection |
mirror-reflection.cc |
| 857 |
Minimum Cost to Hire K Workers |
minimum-cost-to-hire-k-workers.rs |
| 856 |
Score of Parentheses |
score-of-parentheses.cc |
| 855 |
Exam Room |
exam-room.cc |
| 854 |
K-Similar Strings |
k-similar-strings.cc |
| 853 |
Car Fleet |
car-fleet.cc |
| 852 |
Peak Index in a Mountain Array |
peak-index-in-a-mountain-array.cc |
| 843 |
Guess the Word |
guess-the-word.cc |
| 842 |
Split Array into Fibonacci Sequence |
split-array-into-fibonacci-sequence.cc |
| 841 |
Keys and Rooms |
keys-and-rooms.cc |
| 840 |
Magic Squares In Grid |
magic-squares-in-grid.cc |
| 835 |
Image Overlap |
image-overlap.cc |
| 834 |
Sum of Distances in Tree |
sum-of-distances-in-tree.cc |
| 833 |
Find And Replace in String |
find-and-replace-in-string.cc |
| 832 |
Flipping an Image |
flipping-an-image.cc |
| 827 |
Making A Large Island |
making-a-large-island.cc |
| 826 |
Most Profit Assigning Work |
most-profit-assigning-work.cc |
| 825 |
Friends Of Appropriate Ages |
friends-of-appropriate-ages.cc |
| 824 |
Goat Latin |
goat-latin.cc |
| 815 |
Bus Routes |
bus-routes.cc |
| 814 |
Binary Tree Pruning |
binary-tree-pruning.cc |
| 813 |
Largest Sum of Averages |
largest-sum-of-averages.cc |
| 812 |
Largest Triangle Area |
largest-triangle-area.cc |
| 803 |
Bricks Falling When Hit |
bricks-falling-when-hit.cc |
| 802 |
Find Eventual Safe States |
find-eventual-safe-states.rs |
| 798 |
Smallest Rotation with Highest Score |
smallest-rotation-with-highest-score.rs |
| 795 |
Number of Subarrays with Bounded Maximum |
number-of-subarrays-with-bounded-maximum.rs |
| 792 |
Number of Matching Subsequences |
number-of-matching-subsequences.rs |
| 767 |
Reorganize String |
reorganize-string.rs |
| 719 |
Find K-th Smallest Pair Distance |
find-k-th-smallest-pair-distance.nim |
| 679 |
24 Game |
24-game.nim |
| 678 |
Valid Parenthesis String |
valid-parenthesis-string.rs |
| 673 |
Number of Longest Increasing Subsequence |
number-of-longest-increasing-subsequence.cc |
| 668 |
Kth Smallest Number in Multiplication Table |
kth-smallest-number-in-multiplication-table.nim |
| 664 |
Strange Printer |
strange-printer.rs |
| 652 |
Find Duplicate Subtrees |
find-duplicate-subtrees.cc |
| 643 |
Maximum Average Subarray I |
maximum-average-subarray-i.cc |
| 636 |
Exclusive Time of Functions |
exclusive-time-of-functions.cc |
| 635 |
Design Log Storage System |
design-log-storage-system.cc |
| 634 |
Find the Derangement of An Array |
find-the-derangement-of-an-array.cc |
| 633 |
Sum of Square Numbers |
sum-of-square-numbers.cc |
| 631 |
Design Excel Sum Formula |
design-excel-sum-formula.cc |
| 630 |
Course Schedule III |
course-schedule-iii.rs |
| 629 |
K Inverse Pairs Array |
k-inverse-pairs-array.cc |
| 628 |
Maximum Product of Three Numbers |
maximum-product-of-three-numbers.cc |
| 617 |
Merge Two Binary Trees |
merge-two-binary-trees.cc |
| 616 |
Add Bold Tag in String |
add-bold-tag-in-string.cc |
| 611 |
Valid Triangle Number |
valid-triangle-number.cc |
| 604 |
Design Compressed String Iterator |
design-compressed-string-iterator.cc |
| 600 |
Non-negative Integers without Consecutive Ones |
non-negative-integers-without-consecutive-ones.cc |
| 599 |
Minimum Index Sum of Two Lists |
minimum-index-sum-of-two-lists.cc |
| 598 |
Range Addition II |
range-addition-ii.cc |
| 594 |
Longest Harmonious Subsequence |
longest-harmonious-subsequence.cc |
| 593 |
Valid Square |
valid-square.cc |
| 592 |
Fraction Addition and Subtraction |
fraction-addition-and-subtraction.cc |
| 588 |
Design In-Memory File System |
design-in-memory-file-system.cc |
| 587 |
Erect the Fence |
erect-the-fence.cc |
| 583 |
Delete Operation for Two Strings |
delete-operation-for-two-strings.cc |
| 582 |
Kill Process |
kill-process.cc |
| 581 |
Shortest Unsorted Continuous Subarray |
shortest-unsorted-continuous-subarray.cc |
| 575 |
Distribute Candies |
distribute-candies.cc |
| 565 |
Array Nesting |
array-nesting.cc |
| 556 |
Next Greater Element III |
next-greater-element-iii.cc |
| 553 |
Optimal Division |
optimal-division.cc |
| 552 |
Student Attendance Record II |
student-attendance-record-ii.cc |
| 543 |
Diameter of Binary Tree |
diameter-of-binary-tree.nim |
| 533 |
Lonely Pixel II |
lonely-pixel-ii.cc |
| 531 |
Lonely Pixel I |
lonely-pixel-i.cc |
| 524 |
Longest Word in Dictionary through Deleting |
longest-word-in-dictionary-through-deleting.rs |
| 514 |
Freedom Trail |
freedom-trail.cc |
| 508 |
Most Frequent Subtree Sum |
most-frequent-subtree-sum.cc |
| 507 |
Perfect Number |
perfect-number.cc |
| 504 |
Base 7 |
base-7.cc |
| 502 |
IPO |
ipo.rs |
| 501 |
Find Mode in Binary Search Tree |
find-mode-in-binary-search-tree.cc |
| 500 |
Keyboard Row |
keyboard-row.cc |
| 495 |
Teemo Attacking |
teemo-attacking.cc |
| 494 |
Target Sum |
target-sum.cc |
| 491 |
Increasing Subsequences |
increasing-subsequences.cc |
| 490 |
The Maze |
the-maze.cc |
| 485 |
Max Consecutive Ones |
max-consecutive-ones.cc |
| 483 |
Smallest Good Base |
smallest-good-base.cc |
| 482 |
License Key Formatting |
license-key-formatting.cc |
| 481 |
Magical String |
magical-string.cc |
| 480 |
Sliding Window Median |
sliding-window-median.cc |
| 479 |
Largest Palindrome Product |
largest-palindrome-product.rs |
| 477 |
Total Hamming Distance |
total-hamming-distance.cc |
| 476 |
Number Complement |
number-complement.cc |
| 475 |
Heaters |
heaters.cc |
| 474 |
Ones and Zeroes |
ones-and-zeroes.cc |
| 473 |
Matchsticks to Square |
matchsticks-to-square.cc |
| 472 |
Concatenated Words |
concatenated-words.rs |
| 469 |
Convex Polygon |
convex-polygon.cc |
| 468 |
Validate IP Address |
validate-ip-address.cc |
| 467 |
Unique Substrings in Wraparound String |
unique-substrings-in-wraparound-string.cc |
| 466 |
Count The Repetitions |
count-the-repetitions.cc |
| 465 |
Optimal Account Balancing |
optimal-account-balancing.cc |
| 464 |
Can I Win |
can-i-win.cc |
| 463 |
Island Perimeter |
island-perimeter.cc |
| 462 |
Minimum Moves to Equal Array Elements II |
minimum-moves-to-equal-array-elements-ii.cc |
| 461 |
Hamming Distance |
hamming-distance.cc |
| 459 |
Repeated Substring Pattern |
repeated-substring-pattern.cc |
| 456 |
132 Pattern |
132-pattern.cc |
| 455 |
Assign Cookies |
assign-cookies.cc |
| 454 |
4Sum II |
4sum-ii.cc |
| 453 |
Minimum Moves to Equal Array Elements |
minimum-moves-to-equal-array-elements.cc |
| 452 |
Minimum Number of Arrows to Burst Balloons |
minimum-number-of-arrows-to-burst-balloons.cc |
| 447 |
Number of Boomerangs |
number-of-boomerangs.cc |
| 446 |
Arithmetic Slices II - Subsequence |
arithmetic-slices-ii-subsequence.cc |
| 444 |
Sequence Reconstruction |
sequence-reconstruction.cc |
| 441 |
Arranging Coins |
arranging-coins.cc |
| 440 |
K-th Smallest in Lexicographical Order |
k-th-smallest-in-lexicographical-order.cc |
| 439 |
Ternary Expression Parser |
ternary-expression-parser.cc |
| 438 |
Find All Anagrams in a String |
find-all-anagrams-in-a-string.cc |
| 437 |
Path Sum III |
path-sum-iii.cc |
| 436 |
Find Right Interval |
find-right-interval.cc |
| 435 |
Non-overlapping Intervals |
non-overlapping-intervals.cc |
| 434 |
Number of Segments in a String |
number-of-segments-in-a-string.cc |
| 432 |
[All O`one Data Structure](https://leetcode.com/problems/all-oone-data-structure) |
all-oone-data-structure.cc |
| 424 |
Longest Repeating Character Replacement |
longest-repeating-character-replacement.nim |
| 423 |
Reconstruct Original Digits from English |
reconstruct-original-digits-from-english.cc |
| 422 |
Valid Word Square |
valid-word-square.cc |
| 421 |
Maximum XOR of Two Numbers in an Array |
maximum-xor-of-two-numbers-in-an-array.rs |
| 420 |
Strong Password Checker |
strong-password-checker.cc |
| 419 |
Battleships in a Board |
battleships-in-a-board.cc |
| 417 |
Pacific Atlantic Water Flow |
pacific-atlantic-water-flow.cc |
| 416 |
Partition Equal Subset Sum |
partition-equal-subset-sum.cc |
| 415 |
Add Strings |
add-strings.cc |
| 414 |
Third Maximum Number |
third-maximum-number.cc |
| 413 |
Arithmetic Slices |
arithmetic-slices.cc |
| 412 |
Fizz Buzz |
fizz-buzz.cc |
| 410 |
Split Array Largest Sum |
split-array-largest-sum.cc |
| 409 |
Longest Palindrome |
longest-palindrome.cc |
| 408 |
Valid Word Abbreviation |
valid-word-abbreviation.cc |
| 407 |
Trapping Rain Water II |
trapping-rain-water-ii.cc |
| 406 |
Queue Reconstruction by Height |
queue-reconstruction-by-height.cc |
| 405 |
Convert a Number to Hexadecimal |
convert-a-number-to-hexadecimal.cc |
| 404 |
Sum of Left Leaves |
sum-of-left-leaves.cc |
| 403 |
Frog Jump |
frog-jump.cc |
| 402 |
Remove K Digits |
remove-k-digits.nim |
| 401 |
Binary Watch |
binary-watch.cc |
| 400 |
Nth Digit |
nth-digit.cc |
| 399 |
Evaluate Division |
evaluate-division.cc |
| 398 |
Random Pick Index |
random-pick-index.cc |
| 397 |
Integer Replacement |
integer-replacement.cc |
| 396 |
Rotate Function |
rotate-function.cc |
| 395 |
Longest Substring with At Least K Repeating Characters |
longest-substring-with-at-least-k-repeating-characters.cc |
| 394 |
Decode String |
decode-string.cc |
| 393 |
UTF-8 Validation |
utf-8-validation.cc |
| 392 |
Is Subsequence |
is-subsequence.cc |
| 391 |
Perfect Rectangle |
perfect-rectangle.cc |
| 390 |
Elimination Game |
elimination-game.cc |
| 389 |
Find the Difference |
find-the-difference.cc |
| 388 |
Longest Absolute File Path |
longest-absolute-file-path.cc |
| 387 |
First Unique Character in a String |
first-unique-character-in-a-string.cc |
| 386 |
Lexicographical Numbers |
lexicographical-numbers.cc |
| 385 |
Mini Parser |
mini-parser.cc |
| 384 |
Shuffle an Array |
shuffle-an-array.cc |
| 383 |
Ransom Note |
ransom-note.cc |
| 382 |
Linked List Random Node |
linked-list-random-node.cc |
| 381 |
Insert Delete GetRandom O(1) - Duplicates allowed |
insert-delete-getrandom-o1-duplicates-allowed.cc |
| 380 |
Insert Delete GetRandom O(1) |
insert-delete-getrandom-o1.cc |
| 379 |
Design Phone Directory |
design-phone-directory.cc |
| 378 |
Kth Smallest Element in a Sorted Matrix |
kth-smallest-element-in-a-sorted-matrix.nim |
| 377 |
Combination Sum IV |
combination-sum-iv.cc |
| 376 |
Wiggle Subsequence |
wiggle-subsequence.cc |
| 375 |
Guess Number Higher or Lower II |
guess-number-higher-or-lower-ii.cc |
| 374 |
Guess Number Higher or Lower |
guess-number-higher-or-lower.cc |
| 373 |
Find K Pairs with Smallest Sums |
find-k-pairs-with-smallest-sums.nim |
| 372 |
Super Pow |
super-pow.cc |
| 371 |
Sum of Two Integers |
sum-of-two-integers.cc |
| 370 |
Range Addition |
range-addition.cc |
| 369 |
Plus One Linked List |
plus-one-linked-list.cc |
| 368 |
Largest Divisible Subset |
largest-divisible-subset.cc |
| 367 |
Valid Perfect Square |
valid-perfect-square.cc |
| 366 |
Find Leaves of Binary Tree |
find-leaves-of-binary-tree.cc |
| 365 |
Water and Jug Problem |
water-and-jug-problem.cc |
| 364 |
Nested List Weight Sum II |
nested-list-weight-sum-ii.cc |
| 362 |
Design Hit Counter |
design-hit-counter.cc |
| 361 |
Bomb Enemy |
bomb-enemy.cc |
| 360 |
Sort Transformed Array |
sort-transformed-array.cc |
| 359 |
Logger Rate Limiter |
logger-rate-limiter.cc |
| 358 |
Rearrange String k Distance Apart |
rearrange-string-k-distance-apart.cc |
| 357 |
Count Numbers with Unique Digits |
count-numbers-with-unique-digits.cc |
| 356 |
Line Reflection |
line-reflection.cc |
| 355 |
Design Twitter |
design-twitter.cc |
| 354 |
Russian Doll Envelopes |
russian-doll-envelopes.rs |
| 353 |
Design Snake Game |
design-snake-game.cc |
| 352 |
Data Stream as Disjoint Intervals |
data-stream-as-disjoint-intervals.cc |
| 351 |
Android Unlock Patterns |
android-unlock-patterns.cc |
| 350 |
Intersection of Two Arrays II |
intersection-of-two-arrays-ii.cc |
| 349 |
Intersection of Two Arrays |
intersection-of-two-arrays.cc |
| 348 |
Design Tic-Tac-Toe |
design-tic-tac-toe.cc |
| 347 |
Top K Frequent Elements |
top-k-frequent-elements.rs |
| 346 |
Moving Average from Data Stream |
moving-average-from-data-stream.cc |
| 345 |
Reverse Vowels of a String |
reverse-vowels-of-a-string.cc |
| 344 |
Reverse String |
reverse-string.cc |
| 343 |
Integer Break |
integer-break.cc |
| 342 |
Power of Four |
power-of-four.cc |
| 341 |
Flatten Nested List Iterator |
flatten-nested-list-iterator.cc |
| 340 |
Longest Substring with At Most K Distinct Characters |
longest-substring-with-at-most-k-distinct-characters.cc |
| 339 |
Nested List Weight Sum |
nested-list-weight-sum.cc |
| 338 |
Counting Bits |
counting-bits.cc |
| 337 |
House Robber III |
house-robber-iii.cc |
| 336 |
Palindrome Pairs |
palindrome-pairs.cc |
| 335 |
Self Crossing |
self-crossing.cc |
| 334 |
Increasing Triplet Subsequence |
increasing-triplet-subsequence.cc |
| 333 |
Largest BST Subtree |
largest-bst-subtree.cc |
| 332 |
Reconstruct Itinerary |
reconstruct-itinerary.cc |
| 331 |
Verify Preorder Serialization of a Binary Tree |
verify-preorder-serialization-of-a-binary-tree.cc |
| 330 |
Patching Array |
patching-array.cc |
| 329 |
Longest Increasing Path in a Matrix |
longest-increasing-path-in-a-matrix.cc |
| 328 |
Odd Even Linked List |
odd-even-linked-list.cc |
| 327 |
Count of Range Sum |
count-of-range-sum.cc |
| 326 |
Power of Three |
power-of-three.cc |
| 325 |
Maximum Size Subarray Sum Equals k |
maximum-size-subarray-sum-equals-k.cc |
| 324 |
Wiggle Sort II |
wiggle-sort-ii.cc |
| 323 |
Number of Connected Components in an Undirected Graph |
number-of-connected-components-in-an-undirected-graph.cc |
| 322 |
Coin Change |
coin-change.cc |
| 321 |
Create Maximum Number |
create-maximum-number.cc |
| 320 |
Generalized Abbreviation |
generalized-abbreviation.cc |
| 319 |
Bulb Switcher |
bulb-switcher.cc |
| 318 |
Maximum Product of Word Lengths |
maximum-product-of-word-lengths.cc |
| 317 |
Shortest Distance from All Buildings |
shortest-distance-from-all-buildings.cc |
| 316 |
Remove Duplicate Letters |
remove-duplicate-letters.nim |
| 315 |
Count of Smaller Numbers After Self |
count-of-smaller-numbers-after-self.cc |
| 314 |
[B |
|