Skip to content

Latest commit

 

History

History
797 lines (791 loc) · 117 KB

README.md

File metadata and controls

797 lines (791 loc) · 117 KB

LeetCode

LeetCode solutions gives some thoughts on selected problems.

Solved 783/1883 problems.

Database

See database.md

Algorithms

# Title Solution
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 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 Binary Tree Vertical Order Traversal binary-tree-vertical-order-traversal.cc
313 Super Ugly Number super-ugly-number.rs
312 Burst Balloons burst-balloons.cc
311 Sparse Matrix Multiplication sparse-matrix-multiplication.cc
310 Minimum Height Trees minimum-height-trees.cc
309 Best Time to Buy and Sell Stock with Cooldown best-time-to-buy-and-sell-stock-with-cooldown.cc
308 Range Sum Query 2D - Mutable range-sum-query-2d-mutable.cc
307 Range Sum Query - Mutable range-sum-query-mutable.cc
306 Additive Number additive-number.cc
305 Number of Islands II number-of-islands-ii.cc
304 Range Sum Query 2D - Immutable range-sum-query-2d-immutable.cc
303 Range Sum Query - Immutable range-sum-query-immutable.cc
302 Smallest Rectangle Enclosing Black Pixels smallest-rectangle-enclosing-black-pixels.cc
301 Remove Invalid Parentheses remove-invalid-parentheses.rs
300 Longest Increasing Subsequence longest-increasing-subsequence.rs
299 Bulls and Cows bulls-and-cows.cc
298 Binary Tree Longest Consecutive Sequence binary-tree-longest-consecutive-sequence.cc
297 Serialize and Deserialize Binary Tree serialize-and-deserialize-binary-tree.cc
296 Best Meeting Point best-meeting-point.cc
295 Find Median from Data Stream find-median-from-data-stream.cc
294 Flip Game II flip-game-ii.cc
293 Flip Game flip-game.cc
292 Nim Game nim-game.cc
291 Word Pattern II word-pattern-ii.cc
290 Word Pattern word-pattern.cc
289 Game of Life game-of-life.cc
288 Unique Word Abbreviation unique-word-abbreviation.cc
287 Find the Duplicate Number find-the-duplicate-number.cc
286 Walls and Gates walls-and-gates.cc
285 Inorder Successor in BST inorder-successor-in-bst.cc
284 Peeking Iterator peeking-iterator.cc
283 Move Zeroes move-zeroes.cc
282 Expression Add Operators expression-add-operators.cc
281 Zigzag Iterator zigzag-iterator.cc
280 Wiggle Sort wiggle-sort.cc
279 Perfect Squares perfect-squares.cc
278 First Bad Version first-bad-version.cc
277 Find the Celebrity find-the-celebrity.cc
276 Paint Fence paint-fence.cc
275 H-Index II h-index-ii.cc
274 H-Index h-index.cc
273 Integer to English Words integer-to-english-words.cc
272 Closest Binary Search Tree Value II closest-binary-search-tree-value-ii.cc
271 Encode and Decode Strings encode-and-decode-strings.cc
270 Closest Binary Search Tree Value closest-binary-search-tree-value.cc
269 Alien Dictionary alien-dictionary.cc
268 Missing Number missing-number.cc
267 Palindrome Permutation II palindrome-permutation-ii.cc
266 Palindrome Permutation palindrome-permutation.cc
265 Paint House II paint-house-ii.cc
264 Ugly Number II ugly-number-ii.rs
263 Ugly Number ugly-number.cc
261 Graph Valid Tree graph-valid-tree.cc
260 Single Number III single-number-iii.cc
259 3Sum Smaller 3sum-smaller.cc
258 Add Digits add-digits.cc
257 Binary Tree Paths binary-tree-paths.cc
256 Paint House paint-house.cc
255 Verify Preorder Sequence in Binary Search Tree verify-preorder-sequence-in-binary-search-tree.cc
254 Factor Combinations factor-combinations.cc
253 Meeting Rooms II meeting-rooms-ii.cc
252 Meeting Rooms meeting-rooms.cc
251 Flatten 2D Vector flatten-2d-vector.cc
250 Count Univalue Subtrees count-univalue-subtrees.cc
249 Group Shifted Strings group-shifted-strings.cc
248 Strobogrammatic Number III strobogrammatic-number-iii.cc
247 Strobogrammatic Number II strobogrammatic-number-ii.cc
246 Strobogrammatic Number strobogrammatic-number.cc
245 Shortest Word Distance III shortest-word-distance-iii.cc
244 Shortest Word Distance II shortest-word-distance-ii.cc
243 Shortest Word Distance shortest-word-distance.cc
242 Valid Anagram valid-anagram.cc
241 Different Ways to Add Parentheses different-ways-to-add-parentheses.nim
240 Search a 2D Matrix II search-a-2d-matrix-ii.cc
239 Sliding Window Maximum sliding-window-maximum.cc
238 Product of Array Except Self product-of-array-except-self.cc
237 Delete Node in a Linked List delete-node-in-a-linked-list.cc
236 Lowest Common Ancestor of a Binary Tree lowest-common-ancestor-of-a-binary-tree.cc
235 Lowest Common Ancestor of a Binary Search Tree lowest-common-ancestor-of-a-binary-search-tree.cc
234 Palindrome Linked List palindrome-linked-list.cc
233 Number of Digit One number-of-digit-one.cc
232 Implement Queue using Stacks implement-queue-using-stacks.cc
231 Power of Two power-of-two.cc
230 Kth Smallest Element in a BST kth-smallest-element-in-a-bst.cc
229 Majority Element II majority-element-ii.cc
228 Summary Ranges summary-ranges.cc
227 Basic Calculator II basic-calculator-ii.nim
226 Invert Binary Tree invert-binary-tree.cc
225 Implement Stack using Queues implement-stack-using-queues.cc
224 Basic Calculator basic-calculator.cc
223 Rectangle Area rectangle-area.cc
222 Count Complete Tree Nodes count-complete-tree-nodes.cc
221 Maximal Square maximal-square.cc
220 Contains Duplicate III contains-duplicate-iii.cc
219 Contains Duplicate II contains-duplicate-ii.cc
218 The Skyline Problem the-skyline-problem.cc
217 Contains Duplicate contains-duplicate.cc
216 Combination Sum III combination-sum-iii.cc
215 Kth Largest Element in an Array kth-largest-element-in-an-array.rs
214 Shortest Palindrome shortest-palindrome.rs
213 House Robber II house-robber-ii.cc
212 Word Search II word-search-ii.rs
210 Course Schedule II course-schedule-ii.nim
209 Minimum Size Subarray Sum minimum-size-subarray-sum.cc
208 Implement Trie (Prefix Tree) implement-trie-prefix-tree.cc
207 Course Schedule course-schedule.nim
206 Reverse Linked List reverse-linked-list.cc
205 Isomorphic Strings isomorphic-strings.cc
204 Count Primes count-primes.cc
203 Remove Linked List Elements remove-linked-list-elements.cc
202 Happy Number happy-number.cc
201 Bitwise AND of Numbers Range bitwise-and-of-numbers-range.cc
200 Number of Islands number-of-islands.cc
199 Binary Tree Right Side View binary-tree-right-side-view.cc
198 House Robber house-robber.cc
191 Number of 1 Bits number-of-1-bits.cc
190 Reverse Bits reverse-bits.cc
189 Rotate Array rotate-array.cc
188 Best Time to Buy and Sell Stock IV best-time-to-buy-and-sell-stock-iv.cc
187 Repeated DNA Sequences repeated-dna-sequences.cc
186 Reverse Words in a String II reverse-words-in-a-string-ii.cc
179 Largest Number largest-number.cc
174 Dungeon Game dungeon-game.cc
173 Binary Search Tree Iterator binary-search-tree-iterator.cc
172 Factorial Trailing Zeroes factorial-trailing-zeroes.cc
171 Excel Sheet Column Number excel-sheet-column-number.cc
170 Two Sum III - Data structure design two-sum-iii-data-structure-design.cc
169 Majority Element majority-element.cc
168 Excel Sheet Column Title excel-sheet-column-title.cc
167 Two Sum II - Input Array Is Sorted two-sum-ii-input-array-is-sorted.cc
166 Fraction to Recurring Decimal fraction-to-recurring-decimal.cc
165 Compare Version Numbers compare-version-numbers.cc
164 Maximum Gap maximum-gap.cc
163 Missing Ranges missing-ranges.cc
162 Find Peak Element find-peak-element.cc
161 One Edit Distance one-edit-distance.cc
160 Intersection of Two Linked Lists intersection-of-two-linked-lists.cc
159 Longest Substring with At Most Two Distinct Characters longest-substring-with-at-most-two-distinct-characters.cc
158 Read N Characters Given read4 II - Call Multiple Times read-n-characters-given-read4-ii-call-multiple-times.cc
157 Read N Characters Given Read4 read-n-characters-given-read4.cc
156 Binary Tree Upside Down binary-tree-upside-down.cc
155 Min Stack min-stack.cc
154 Find Minimum in Rotated Sorted Array II find-minimum-in-rotated-sorted-array-ii.cc
153 Find Minimum in Rotated Sorted Array find-minimum-in-rotated-sorted-array.cc
152 Maximum Product Subarray maximum-product-subarray.cc
151 Reverse Words in a String reverse-words-in-a-string.cc
150 Evaluate Reverse Polish Notation evaluate-reverse-polish-notation.cc
149 Max Points on a Line max-points-on-a-line.cc
148 Sort List sort-list.cc
147 Insertion Sort List insertion-sort-list.cc
146 LRU Cache lru-cache.cc
145 Binary Tree Postorder Traversal binary-tree-postorder-traversal.cc
144 Binary Tree Preorder Traversal binary-tree-preorder-traversal.cc
143 Reorder List reorder-list.cc
142 Linked List Cycle II linked-list-cycle-ii.cc
141 Linked List Cycle linked-list-cycle.cc
140 Word Break II word-break-ii.rs
139 Word Break word-break.cc
138 Copy List with Random Pointer copy-list-with-random-pointer.cc
137 Single Number II single-number-ii.cc
136 Single Number single-number.cc
135 Candy candy.rs
134 Gas Station gas-station.cc
133 Clone Graph clone-graph.cc
132 Palindrome Partitioning II palindrome-partitioning-ii.cc
131 Palindrome Partitioning palindrome-partitioning.rs
130 Surrounded Regions surrounded-regions.cc
129 Sum Root to Leaf Numbers sum-root-to-leaf-numbers.cc
128 Longest Consecutive Sequence longest-consecutive-sequence.cc
127 Word Ladder word-ladder.cc
126 Word Ladder II word-ladder-ii.cc
125 Valid Palindrome valid-palindrome.cc
124 Binary Tree Maximum Path Sum binary-tree-maximum-path-sum.nim
123 Best Time to Buy and Sell Stock III best-time-to-buy-and-sell-stock-iii.cc
122 Best Time to Buy and Sell Stock II best-time-to-buy-and-sell-stock-ii.cc
121 Best Time to Buy and Sell Stock best-time-to-buy-and-sell-stock.cc
120 Triangle triangle.cc
119 Pascal's Triangle II pascals-triangle-ii.cc
118 Pascal's Triangle pascals-triangle.cc
117 Populating Next Right Pointers in Each Node II populating-next-right-pointers-in-each-node-ii.cc
116 Populating Next Right Pointers in Each Node populating-next-right-pointers-in-each-node.cc
115 Distinct Subsequences distinct-subsequences.cc
114 Flatten Binary Tree to Linked List flatten-binary-tree-to-linked-list.cc
113 Path Sum II path-sum-ii.cc
112 Path Sum path-sum.cc
111 Minimum Depth of Binary Tree minimum-depth-of-binary-tree.cc
110 Balanced Binary Tree balanced-binary-tree.cc
109 Convert Sorted List to Binary Search Tree convert-sorted-list-to-binary-search-tree.cc
108 Convert Sorted Array to Binary Search Tree convert-sorted-array-to-binary-search-tree.cc
107 Binary Tree Level Order Traversal II binary-tree-level-order-traversal-ii.cc
106 Construct Binary Tree from Inorder and Postorder Traversal construct-binary-tree-from-inorder-and-postorder-traversal.cc
105 Construct Binary Tree from Preorder and Inorder Traversal construct-binary-tree-from-preorder-and-inorder-traversal.cc
104 Maximum Depth of Binary Tree maximum-depth-of-binary-tree.cc
103 Binary Tree Zigzag Level Order Traversal binary-tree-zigzag-level-order-traversal.cc
102 Binary Tree Level Order Traversal binary-tree-level-order-traversal.cc
101 Symmetric Tree symmetric-tree.cc
100 Same Tree same-tree.cc
99 Recover Binary Search Tree recover-binary-search-tree.cc
98 Validate Binary Search Tree validate-binary-search-tree.cc
97 Interleaving String interleaving-string.cc
96 Unique Binary Search Trees unique-binary-search-trees.cc
95 Unique Binary Search Trees II unique-binary-search-trees-ii.cc
94 Binary Tree Inorder Traversal binary-tree-inorder-traversal.cc
93 Restore IP Addresses restore-ip-addresses.cc
92 Reverse Linked List II reverse-linked-list-ii.cc
91 Decode Ways decode-ways.cc
90 Subsets II subsets-ii.cc
89 Gray Code gray-code.cc
88 Merge Sorted Array merge-sorted-array.cc
87 Scramble String scramble-string.cc
86 Partition List partition-list.cc
85 Maximal Rectangle maximal-rectangle.cc
84 Largest Rectangle in Histogram largest-rectangle-in-histogram.cc
83 Remove Duplicates from Sorted List remove-duplicates-from-sorted-list.cc
82 Remove Duplicates from Sorted List II remove-duplicates-from-sorted-list-ii.cc
81 Search in Rotated Sorted Array II search-in-rotated-sorted-array-ii.cc
80 Remove Duplicates from Sorted Array II remove-duplicates-from-sorted-array-ii.cc
79 Word Search word-search.cc
78 Subsets subsets.cc
77 Combinations combinations.cc
76 Minimum Window Substring minimum-window-substring.cc
75 Sort Colors sort-colors.cc
74 Search a 2D Matrix search-a-2d-matrix.cc
73 Set Matrix Zeroes set-matrix-zeroes.cc
72 Edit Distance edit-distance.cc
71 Simplify Path simplify-path.cc
70 Climbing Stairs climbing-stairs.cc
69 Sqrt(x) sqrtx.cc
68 Text Justification text-justification.cc
67 Add Binary add-binary.cc
66 Plus One plus-one.cc
65 Valid Number valid-number.cc
64 Minimum Path Sum minimum-path-sum.cc
63 Unique Paths II unique-paths-ii.cc
62 Unique Paths unique-paths.cc
61 Rotate List rotate-list.cc
60 Permutation Sequence permutation-sequence.rs
59 Spiral Matrix II spiral-matrix-ii.cc
58 Length of Last Word length-of-last-word.cc
57 Insert Interval insert-interval.cc
56 Merge Intervals merge-intervals.cc
55 Jump Game jump-game.cc
54 Spiral Matrix spiral-matrix.cc
53 Maximum Subarray maximum-subarray.cc
52 N-Queens II n-queens-ii.cc
51 N-Queens n-queens.cc
50 Pow(x, n) powx-n.cc
48 Rotate Image rotate-image.rs
47 Permutations II permutations-ii.cc
46 Permutations permutations.cc
45 Jump Game II jump-game-ii.cc
44 Wildcard Matching wildcard-matching.cc
43 Multiply Strings multiply-strings.cc
42 Trapping Rain Water trapping-rain-water.cc
41 First Missing Positive first-missing-positive.cc
40 Combination Sum II combination-sum-ii.cc
39 Combination Sum combination-sum.cc
38 Count and Say count-and-say.cc
37 Sudoku Solver sudoku-solver.cc
36 Valid Sudoku valid-sudoku.cc
35 Search Insert Position search-insert-position.cc
33 Search in Rotated Sorted Array search-in-rotated-sorted-array.cc
32 Longest Valid Parentheses longest-valid-parentheses.cc
31 Next Permutation next-permutation.cc
30 Substring with Concatenation of All Words substring-with-concatenation-of-all-words.cc
29 Divide Two Integers divide-two-integers.cc
28 Implement strStr() implement-strstr.cc
27 Remove Element remove-element.cc
26 Remove Duplicates from Sorted Array remove-duplicates-from-sorted-array.cc
25 Reverse Nodes in k-Group reverse-nodes-in-k-group.cc
24 Swap Nodes in Pairs swap-nodes-in-pairs.cc
23 Merge k Sorted Lists merge-k-sorted-lists.cc
22 Generate Parentheses generate-parentheses.cc
21 Merge Two Sorted Lists merge-two-sorted-lists.cc
20 Valid Parentheses valid-parentheses.cc
19 Remove Nth Node From End of List remove-nth-node-from-end-of-list.cc
18 4Sum 4sum.cc
17 Letter Combinations of a Phone Number letter-combinations-of-a-phone-number.cc
16 3Sum Closest 3sum-closest.cc
15 3Sum 3sum.cc
14 Longest Common Prefix longest-common-prefix.cc
13 Roman to Integer roman-to-integer.cc
12 Integer to Roman integer-to-roman.cc
11 Container With Most Water container-with-most-water.cc
10 Regular Expression Matching regular-expression-matching.cc
9 Palindrome Number palindrome-number.cc
8 String to Integer (atoi) string-to-integer-atoi.cc
7 Reverse Integer reverse-integer.cc
6 Zigzag Conversion zigzag-conversion.cc
5 Longest Palindromic Substring longest-palindromic-substring.rs
4 Median of Two Sorted Arrays median-of-two-sorted-arrays.cc
3 Longest Substring Without Repeating Characters longest-substring-without-repeating-characters.cc
2 Add Two Numbers add-two-numbers.cc
1 Two Sum two-sum.cc