Skip to content

Latest commit

 

History

History
2069 lines (2062 loc) · 339 KB

SortByAC.md

File metadata and controls

2069 lines (2062 loc) · 339 KB

✏️ Leetcode Solutions with Java

Update time: 2023-05-07 11:41:50

Auto created by leetcode_generate

I have solved 390 / 2412 problems while there are 361 problems still locked.

If you want to use this tool please follow this Usage Guide

If you have any question, please give me an issue.

If you are loving solving problems in leetcode, please contact me to enjoy it together!

(Notes: 🔒 means you need to buy a book from Leetcode to unlock the problem)

DB# UI# Title Source Code Article Acceptance
2058 1929 concatenation-of-array Java 90.0%
2048 1920 build-array-from-permutation Java 89.9%
1205 1108 defanging-an-ip-address Java 89.0%
1580 1470 shuffle-the-array Java 📝 88.9%
2556 2469 convert-the-temperature 88.9%
2137 2011 final-value-of-variable-after-performing-operations Java 88.7%
1635 1512 number-of-good-pairs Java 88.3%
782 771 jewels-and-stones Java 📝 88.2%
2383 2235 add-two-integers 88.2%
2714 2574 left-and-right-sum-differences 88.2%
1528 1431 kids-with-the-greatest-number-of-candies Java 📝 88.0%
1708 1603 design-parking-system Java 📝 87.9%
1791 1672 richest-customer-wealth Java 📝 87.8%
2491 2413 smallest-even-multiple 87.7%
1603 1480 running-sum-of-1d-array Java 📝 87.3%
2219 2114 maximum-number-of-words-found-in-sentences 87.0%
1797 1678 goal-parser-interpretation Java 86.7%
2264 2160 minimum-sum-of-four-digit-number-after-splitting-digits 86.7%
1406 1281 subtract-the-product-and-sum-of-digits-of-an-integer Java 86.6%
1482 1365 how-many-numbers-are-smaller-than-the-current-number Java 86.6%
1498 1379 find-a-corresponding-node-of-a-binary-tree-in-a-clone-of-that-tree 📝 86.5%
975 938 range-sum-of-bst Java 📝 85.9%
1241 1313 decompress-run-length-encoded-list Java 85.8%
1505 1389 create-target-array-in-the-given-order Java 85.8%
1839 1720 decode-xored-array Java 85.8%
1341 1221 split-a-string-in-balanced-strings Java 85.2%
1444 1342 number-of-steps-to-reduce-a-number-to-zero Java 📝 85.1%
1651 1528 shuffle-string Java 85.1%
2752 2652 sum-multiples 85.1%
1775 1656 design-an-ordered-stream Java 85.0%
1610 1486 xor-operation-in-an-array Java 84.7%
2608 2520 count-the-digits-that-divide-a-number 84.6%
2624 2535 difference-between-element-sum-and-digit-sum-of-an-array 84.6%
2304 2194 cells-in-a-range-on-an-excel-sheet 84.5%
1899 1773 count-items-matching-a-rule Java 84.4%
2406 2325 decode-the-message 84.4%
2384 2236 root-equals-sum-of-children 84.1%
1970 1859 sorting-the-sentence Java 83.9%
2442 2367 number-of-arithmetic-triplets 83.6%
1781 1662 check-if-two-string-arrays-are-equivalent Java 📝 83.5%
1916 1791 find-center-of-star-graph Java 83.5%
1693 1588 sum-of-all-odd-length-subarrays Java 📝 83.4%
1960 1832 check-if-the-sentence-is-pangram Java 📝 83.4%
2454 2373 largest-local-values-in-a-matrix 83.3%
1944 1816 truncate-sentence Java 83.2%
1806 1688 count-of-matches-in-tournament Java 83.0%
2767 2656 maximum-sum-with-exactly-k-elements 83.0%
1894 1768 merge-strings-alternately 📝 82.8%
2116 2006 count-number-of-pairs-with-absolute-difference-k Java 82.8%
2748 2651 calculate-delayed-arrival-time 82.7%
822 804 unique-morse-code-words Java 📝 82.6%
742 709 to-lower-case Java 📝 82.4%
1786 1684 count-the-number-of-consistent-strings Java 82.4%
2323 2220 minimum-bit-flips-to-convert-number 82.4%
2148 2037 minimum-number-of-moves-to-seat-everyone 82.2%
1448 1323 maximum-69-number Java 📝 82.1%
1737 1614 maximum-nesting-depth-of-the-parentheses Java 82.1%
1411 1290 convert-binary-number-in-a-linked-list-to-integer Java 📝 82.0%
2401 2315 count-asterisks 82.0%
557 557 reverse-words-in-a-string-iii Java 📝 81.9%
2042 1913 maximum-product-difference-between-two-pairs Java 81.2%
2226 2103 rings-and-rods 81.2%
1656 1534 count-good-triplets Java 80.9%
861 832 flipping-an-image Java 📝 80.8%
1078 1021 remove-outermost-parentheses Java 80.8%
2502 2418 sort-the-people 80.6%
1677 1572 matrix-diagonal-sum 📝 80.4%
1993 1863 sum-of-all-subset-xor-totals 80.3%
2585 2500 delete-greatest-value-in-each-row 80.3%
1954 1844 replace-all-digits-with-characters 80.2%
1574 1464 maximum-product-of-two-elements-in-an-array 80.1%
2099 1967 number-of-strings-that-appear-as-substrings-in-word 80.1%
2571 2485 find-the-pivot-integer 80.0%
1434 1309 decrypt-string-from-alphabet-to-integer-mapping Java 79.8%
2277 2176 count-equal-and-divisible-pairs-in-an-array 79.5%
2639 2553 separate-the-digits-in-an-array 79.5%
2507 2427 number-of-common-factors 79.4%
1395 1266 minimum-time-visiting-all-points Java 79.1%
2128 2000 reverse-prefix-of-word 79.0%
1833 1732 find-the-highest-altitude 📝 78.9%
617 617 merge-two-binary-trees Java 📝 78.7%
1843 1725 number-of-rectangles-that-can-form-the-largest-square 78.7%
2231 2108 find-first-palindromic-string-in-the-array 78.6%
1378 1252 cells-with-odd-values-in-a-matrix Java 78.5%
933 897 increasing-order-search-tree Java 📝 78.4%
2416 2331 evaluate-boolean-binary-tree 78.4%
1938 1827 minimum-operations-to-make-the-array-increasing 78.3%
1392 2215 find-the-difference-of-two-arrays 📝 78.1%
728 728 self-dividing-numbers Java 📝 77.9%
783 700 search-in-a-binary-search-tree Java 📝 77.8%
1823 1704 determine-if-string-halves-are-alike 📝 77.7%
1920 1812 determine-color-of-a-chessboard-square 77.7%
1490 1374 generate-a-string-with-characters-that-have-odd-counts Java 77.6%
776 590 n-ary-tree-postorder-traversal Java 📝 77.5%
979 942 di-string-match Java 📝 77.5%
1547 1436 destination-city 77.4%
561 561 array-partition Java 📝 77.3%
2292 2185 counting-words-with-a-given-prefix 77.3%
2238 2119 a-number-after-a-double-reversal 77.2%
1421 1295 find-numbers-with-even-number-of-digits Java 77.0%
2106 1979 find-greatest-common-divisor-of-array 77.0%
1426 1304 find-n-unique-integers-sum-up-to-zero Java 76.9%
1965 1837 sum-of-digits-in-base-k 76.9%
344 344 reverse-string Java 📝 76.8%
1472 1370 increasing-decreasing-string Java 76.8%
2053 1941 check-if-all-characters-have-equal-number-of-occurrences 76.8%
2654 2586 count-the-number-of-vowel-strings-in-range 76.6%
1848 1748 sum-of-unique-elements 76.4%
1454 1332 remove-palindromic-subsequences 📝 76.2%
1570 1475 final-prices-with-a-special-discount-in-a-shop 76.2%
2737 2643 row-with-maximum-ones 76.2%
1001 961 n-repeated-element-in-size-2n-array Java 📝 76.1%
2210 2089 find-target-indices-after-sorting-array 76.1%
338 338 counting-bits Java 📝 75.8%
775 589 n-ary-tree-preorder-traversal Java 📝 75.8%
908 876 middle-of-the-linked-list Java 📝 75.8%
1560 1450 number-of-students-doing-homework-at-a-given-time 75.8%
2421 2341 maximum-number-of-pairs-in-array 75.8%
1137 1051 height-checker Java 75.7%
941 905 sort-array-by-parity Java 📝 75.6%
2447 2363 merge-similar-items 75.6%
1476 1351 count-negative-numbers-in-a-sorted-matrix Java 📝 75.5%
657 657 robot-return-to-origin Java 📝 75.3%
461 461 hamming-distance Java 📝 75.0%
2288 2169 count-operations-to-obtain-zero 75.0%
2777 2670 find-the-distinct-difference-array 75.0%
226 226 invert-binary-tree Java 📝 74.9%
981 944 delete-columns-to-make-sorted Java 📝 74.8%
2427 2351 first-letter-to-appear-twice 74.5%
682 682 baseball-game Java 📝 74.4%
104 104 maximum-depth-of-binary-tree Java 📝 74.0%
2010 1880 check-if-word-equals-summation-of-two-words Java 74.0%
2365 2278 percentage-of-letter-in-string 74.0%
2614 2529 maximum-count-of-positive-integer-and-negative-integer 74.0%
94 94 binary-tree-inorder-traversal 📝 73.9%
1829 1710 maximum-units-on-a-truck 📝 73.8%
206 206 reverse-linked-list Java 📝 73.7%
2159 2032 two-out-of-three 73.7%
2308 2206 divide-array-into-equal-pairs 73.7%
1844 1742 maximum-number-of-balls-in-a-box 73.6%
1079 1022 sum-of-root-to-leaf-binary-numbers Java 📝 73.5%
1319 1207 unique-number-of-occurrences Java 📝 73.5%
2707 2570 merge-two-2d-arrays-by-summing-values 73.5%
1458 1356 sort-integers-by-the-number-of-1-bits Java 73.3%
969 933 number-of-recent-calls Java 📝 73.2%
1231 1299 replace-elements-with-greatest-element-on-right-side Java 73.1%
2377 2283 check-if-number-has-equal-digit-count-and-digit-value 72.9%
2088 1974 minimum-time-to-type-word-using-special-typewriter 72.8%
2341 2255 count-prefixes-of-a-given-string 72.6%
2274 2154 keep-multiplying-found-values-by-two 72.4%
2436 2357 make-array-zero-by-subtracting-equal-amounts 72.4%
1519 1403 minimum-subsequence-in-non-increasing-order 72.3%
2469 2389 longest-subsequence-with-limited-sum 📝 72.3%
1556 1460 make-two-arrays-equal-by-reversing-subarrays 72.2%
2163 2053 kth-distinct-string-in-an-array 72.1%
1463 1337 the-k-weakest-rows-in-a-matrix Java 📝 72.0%
2589 2496 maximum-value-of-a-string-in-an-array 72.0%
1019 977 squares-of-a-sorted-array Java 📝 71.9%
637 637 average-of-levels-in-binary-tree Java 📝 71.8%
1329 1217 minimum-cost-to-move-chips-to-the-same-position Java 📝 71.8%
774 559 maximum-depth-of-n-ary-tree Java 📝 71.7%
1264 1935 maximum-number-of-words-you-can-type 71.7%
2181 2057 smallest-index-with-equal-value 71.7%
496 496 next-greater-element-i Java 📝 71.4%
919 883 projection-area-of-3d-shapes Java 📝 71.4%
841 821 shortest-distance-to-a-character Java 📝 71.3%
1987 1876 substrings-of-size-three-with-distinct-characters 71.3%
2243 2124 check-if-all-as-appears-before-all-bs 71.2%
349 349 intersection-of-two-arrays Java 📝 71.1%
118 118 pascals-triangle Java 📝 71.0%
2659 2595 number-of-even-and-odd-bits 71.0%
2566 2475 number-of-unequal-triplets-in-array 70.9%
136 136 single-number Java 📝 70.8%
2476 2399 check-distances-between-same-letters 70.7%
958 922 sort-array-by-parity-ii Java 📝 70.6%
1496 1380 lucky-numbers-in-a-matrix Java 70.6%
2594 2506 count-pairs-of-similar-strings 70.5%
412 412 fizz-buzz Java 📝 70.1%
2190 2085 count-common-words-with-one-occurrence 70.1%
2650 2578 split-with-minimum-sum 70.1%
108 108 convert-sorted-array-to-binary-search-tree Java 📝 70.0%
1013 509 fibonacci-number Java 📝 69.9%
1005 965 univalued-binary-tree Java 📝 69.8%
1094 1030 matrix-cells-in-distance-order Java 69.8%
463 463 island-perimeter Java 📝 69.7%
1741 1636 sort-array-by-increasing-frequency 69.7%
2698 2562 find-the-array-concatenation-value 69.7%
500 500 keyboard-row Java 69.6%
1306 1200 minimum-absolute-difference Java 📝 69.6%
1128 1047 remove-all-adjacent-duplicates-in-string Java 📝 69.5%
2630 2544 alternating-digit-sum 69.4%
1802 1700 number-of-students-unable-to-eat-lunch 69.0%
1363 2309 greatest-english-letter-in-upper-and-lower-case 68.8%
1217 1122 relative-sort-array Java 68.7%
777 766 toeplitz-matrix Java 📝 68.6%
1044 1002 find-common-characters Java 68.5%
2331 2248 intersection-of-multiple-arrays 68.5%
944 908 smallest-range-i Java 📝 68.3%
145 145 binary-tree-postorder-traversal 📝 68.2%
1041 999 available-captures-for-rook Java 68.2%
767 762 prime-number-of-set-bits-in-binary-representation Java 📝 68.1%
2037 1925 count-square-sum-triples 68.0%
851 824 goat-latin Java 📝 67.9%
2524 2441 largest-positive-integer-that-exists-with-its-negative 67.9%
1086 1025 divisor-game Java 67.7%
1386 1260 shift-2d-grid Java 📝 67.7%
1626 1502 can-make-arithmetic-progression-from-sequence 📝 67.7%
904 872 leaf-similar-trees Java 📝 67.6%
476 476 number-complement Java 📝 67.4%
1112 1160 find-words-that-can-be-formed-by-characters Java 67.4%
1888 1779 find-nearest-point-that-has-the-same-x-or-y-coordinate 67.4%
2168 2042 check-if-numbers-are-ascending-in-a-sentence 67.4%
2102 1991 find-the-middle-index-in-array 67.3%
1514 1413 minimum-value-to-get-positive-step-by-step-sum 📝 67.2%
965 929 unique-email-addresses Java 📝 67.1%
2551 2460 apply-operations-to-an-array 67.1%
144 144 binary-tree-preorder-traversal 📝 67.0%
191 191 number-of-1-bits Java 📝 66.9%
1500 1399 count-largest-group Java 66.9%
824 806 number-of-lines-to-write-string Java 📝 66.8%
1486 1385 find-the-distance-value-between-two-arrays 66.8%
2199 2078 two-furthest-houses-with-different-colors 66.8%
2692 2558 take-gifts-from-the-richest-pile 66.7%
575 575 distribute-candies Java 📝 66.5%
920 884 uncommon-words-from-two-sentences Java 📝 66.4%
2361 2243 calculate-digit-sum-of-a-string 66.4%
2398 2319 check-if-matrix-is-x-matrix 66.4%
1817 1716 calculate-money-in-leetcode-bank 66.3%
1950 1822 sign-of-the-product-of-an-array 📝 66.1%
2186 2062 count-vowel-substrings-of-a-string 66.1%
1210 1619 mean-of-array-after-removing-some-elements 66.0%
258 258 add-digits Java 📝 65.6%
816 705 design-hashset 📝 65.6%
2298 2180 count-integers-with-even-digit-sum 65.6%
1127 1046 last-stone-weight Java 📝 65.5%
2260 2138 divide-a-string-into-groups-of-size-k 65.5%
696 696 count-binary-substrings Java 📝 65.4%
2675 2639 find-the-width-of-columns-of-a-grid 65.4%
1704 1582 special-positions-in-a-binary-matrix 65.3%
1812 1694 reformat-phone-number 65.1%
2320 2200 find-all-k-distant-indices-in-an-array 64.9%
2345 2224 minimum-number-of-operations-to-convert-time 64.9%
1510 1394 find-lucky-integer-in-an-array Java 📝 64.7%
817 706 design-hashmap 📝 64.6%
1720 1598 crawler-log-folder 64.6%
2283 2164 sort-even-and-odd-indices-independently 64.6%
898 867 transpose-matrix Java 📝 64.5%
2480 2395 find-subarrays-with-equal-sum 64.4%
1195 1103 distribute-candies-to-people Java 📝 64.3%
928 892 surface-area-of-3d-shapes Java 📝 64.2%
1566 1455 check-if-a-word-occurs-as-a-prefix-of-any-word-in-a-sentence 64.2%
606 606 construct-string-from-binary-tree 📝 64.1%
1382 2303 calculate-amount-paid-in-taxes 64.1%
169 169 majority-element Java 📝 63.9%
1584 1491 average-salary-excluding-the-minimum-and-maximum-salary 📝 63.9%
2177 2068 check-whether-two-strings-are-almost-equivalent 63.9%
2580 2490 circular-sentence 63.9%
1236 1137 n-th-tribonacci-number Java 📝 63.7%
1524 1408 string-matching-in-an-array 63.7%
2386 2293 min-max-game 63.7%
1156 1078 occurrences-after-bigram Java 63.6%
1293 1550 three-consecutive-odds 63.5%
232 232 implement-queue-using-stacks 📝 63.4%
747 746 min-cost-climbing-stairs Java 📝 63.4%
1283 1507 reformat-date 63.4%
1666 1544 make-the-string-great 📝 63.2%
242 242 valid-anagram Java 📝 63.1%
1927 1800 maximum-ascending-subarray-sum 63.1%
566 566 reshape-the-matrix Java 📝 63.0%
268 268 missing-number Java 📝 62.8%
21 21 merge-two-sorted-lists Java 📝 62.6%
1755 1652 defuse-the-bomb 62.6%
2195 2073 time-needed-to-buy-tickets 62.4%
2235 2129 capitalize-the-title 62.4%
899 868 binary-gap Java 📝 62.3%
171 171 excel-sheet-column-number Java 📝 62.2%
733 733 flood-fill Java 📝 62.2%
953 917 reverse-only-letters Java 📝 62.2%
2715 2600 k-items-with-the-maximum-sum 61.8%
2076 1945 sum-of-digits-of-string-after-convert 61.7%
257 257 binary-tree-paths 📝 61.6%
693 693 binary-number-with-alternating-bits Java 📝 61.6%
217 217 contains-duplicate Java 📝 61.4%
283 283 move-zeroes Java 📝 61.4%
1054 1009 complement-of-base-10-integer Java 📝 61.4%
1873 1763 longest-nice-substring 61.4%
653 653 two-sum-iv-input-is-a-bst Java 📝 61.1%
1542 1446 consecutive-characters 📝 61.0%
119 119 pascals-triangle-ii Java 📝 60.9%
1297 1189 maximum-number-of-balloons Java 📝 60.9%
506 506 relative-ranks Java 60.8%
924 888 fair-candy-swap Java 📝 60.8%
2248 2144 minimum-cost-of-buying-candies-with-discount 60.8%
2327 2231 largest-number-after-digit-swaps-by-parity 60.7%
1642 1518 water-bottles 60.5%
1730 1608 special-array-with-x-elements-greater-than-or-equal-x 60.5%
2433 2347 best-poker-hand 60.5%
1999 1869 longer-contiguous-segments-of-ones-than-zeros 60.4%
521 521 longest-uncommon-subsequence-i 📝 60.3%
2704 2566 maximum-difference-by-remapping-a-digit 60.3%
563 563 binary-tree-tilt 📝 60.2%
1983 1854 maximum-population-year 60.1%
448 448 find-all-numbers-disappeared-in-an-array Java 📝 60.0%
2679 2549 count-distinct-numbers-on-board 60.0%
830 812 largest-triangle-area 📝 59.9%
2122 1995 count-special-quadruplets 59.9%
303 303 range-sum-query-immutable Java 📝 59.8%
389 389 find-the-difference Java 📝 59.8%
387 387 first-unique-character-in-a-string Java 📝 59.7%
2269 2148 count-elements-with-strictly-smaller-and-greater-elements 59.6%
2312 2190 most-frequent-number-following-key-in-an-array 59.6%
2346 2264 largest-3-same-digit-number-in-string 59.5%
2547 2451 odd-string-difference 59.5%
2025 1897 redistribute-characters-to-make-all-strings-equal 59.4%
2542 2455 average-value-of-even-numbers-that-are-divisible-by-three 59.4%
749 748 shortest-completing-word 📝 59.3%
799 783 minimum-distance-between-bst-nodes 📝 59.3%
1221 1287 element-appearing-more-than-25-in-sorted-array Java 59.3%
1256 1331 rank-transform-of-an-array Java 59.3%
2132 2022 convert-1d-array-into-2d-array 59.2%
1746 1624 largest-substring-between-two-equal-characters 59.1%
1751 1629 slowest-key 📝 59.1%
225 225 implement-stack-using-queues 📝 58.8%
1548 1437 check-if-all-1s-are-at-least-length-k-places-away 📝 58.7%
13 13 roman-to-integer Java 📝 58.6%
1646 1539 kth-missing-positive-number 📝 58.6%
1682 1560 most-visited-sector-in-a-circular-track 58.6%
2316 2210 count-hills-and-valleys-in-an-array 58.5%
383 383 ransom-note Java 📝 58.4%
932 896 monotonic-array Java 📝 58.4%
1884 1758 minimum-changes-to-make-alternating-binary-string 58.4%
2083 1952 three-divisors 58.4%
100 100 same-tree Java 📝 58.3%
1353 2273 find-resultant-array-after-removing-anagrams 58.2%
2372 2287 rearrange-characters-to-make-target-string 58.1%
2561 2465 number-of-distinct-averages 58.1%
1537 1422 maximum-score-after-splitting-a-string 58.0%
2215 2094 finding-3-digit-even-numbers 57.9%
2463 2379 minimum-recolors-to-get-k-consecutive-black-blocks 57.9%
1430 2269 find-the-k-beauty-of-a-number 57.8%
1289 1185 day-of-the-week Java 57.4%
1975 1848 minimum-distance-to-the-target-element 57.4%
530 530 minimum-absolute-difference-in-bst Java 📝 57.3%
1302 1957 delete-characters-to-make-fancy-string 57.1%
520 520 detect-capital Java 📝 57.0%
543 543 diameter-of-binary-tree Java 📝 57.0%
495 495 teemo-attacking Java 📝 56.9%
404 404 sum-of-left-leaves Java 📝 56.8%
485 485 max-consecutive-ones Java 📝 56.7%
1146 1071 greatest-common-divisor-of-strings 📝 56.5%
2412 2335 minimum-amount-of-time-to-fill-cups 56.5%
2032 1903 largest-odd-number-in-string 56.4%
1760 1640 check-array-formation-through-concatenation 📝 56.3%
792 704 binary-search 📝 56.2%
292 292 nim-game Java 📝 56.1%
350 350 intersection-of-two-arrays-ii Java 📝 56.1%
2391 2299 strong-password-checker-ii 56.1%
697 697 degree-of-an-array Java 📝 56.0%
1619 1496 path-crossing 56.0%
2015 1886 determine-whether-matrix-can-be-obtained-by-rotation 56.0%
789 703 kth-largest-element-in-a-stream 📝 55.5%
598 598 range-addition-ii 📝 55.4%
661 661 image-smoother Java 📝 55.4%
812 796 rotate-string 📝 55.4%
1440 1317 convert-integer-to-the-sum-of-two-no-zero-integers Java 55.4%
492 492 construct-the-rectangle 55.0%
724 724 find-pivot-index Java 📝 55.0%
202 202 happy-number Java 📝 54.9%
1279 1175 prime-arrangements 54.9%
1018 976 largest-perimeter-triangle Java 📝 54.7%
1035 993 cousins-in-binary-tree Java 📝 54.7%
2112 1984 minimum-difference-between-highest-and-lowest-of-k-scores 54.6%
101 101 symmetric-tree 📝 54.5%
160 160 intersection-of-two-linked-lists 📝 54.5%
990 953 verifying-an-alien-dictionary Java 📝 54.5%
1532 1417 reformat-the-string 54.5%
1660 1556 thousand-separator 54.5%
2144 2016 maximum-difference-between-increasing-elements 54.4%
121 121 best-time-to-buy-and-sell-stock Java 📝 54.3%
190 190 reverse-bits 📝 54.3%
1400 1275 find-winner-on-a-tic-tac-toe-game Java 📝 54.2%
409 409 longest-palindrome Java 📝 54.1%
2154 2027 minimum-moves-to-convert-string 54.1%
1287 1184 distance-between-bus-stops Java 54.0%
9 9 palindrome-number Java 📝 53.7%
594 594 longest-harmonious-subsequence 📝 53.6%
599 599 minimum-index-sum-of-two-lists 📝 53.6%
2668 2605 form-smallest-number-from-two-digit-arrays 53.6%
2093 1961 check-if-string-is-a-prefix-of-array 53.3%
27 27 remove-element Java 📝 53.2%
890 860 lemonade-change Java 📝 52.9%
415 415 add-strings 📝 52.5%
2575 2481 minimum-cuts-to-divide-a-circle 52.5%
67 67 add-binary Java 📝 52.4%
401 401 binary-watch 52.4%
70 70 climbing-stairs Java 📝 52.2%
2254 2133 check-if-every-row-and-column-contains-all-numbers 52.2%
2121 1971 find-if-path-exists-in-graph 📝 52.0%
374 374 guess-number-higher-or-lower 📝 51.9%
857 830 positions-of-large-groups Java 📝 51.8%
26 26 remove-duplicates-from-sorted-array Java 📝 51.7%
1168 1089 duplicate-zeros Java 📝 51.5%
2634 2540 minimum-common-value 51.1%
2486 2404 most-frequent-even-element 50.9%
1047 1005 maximize-sum-of-array-after-k-negations 50.8%
83 83 remove-duplicates-from-sorted-list Java 📝 50.7%
541 541 reverse-string-ii 📝 50.4%
234 234 palindrome-linked-list 📝 50.3%
2005 1893 check-if-all-the-integers-in-a-range-are-covered 50.3%
345 345 reverse-vowels-of-a-string Java 📝 50.2%
1769 1646 get-maximum-in-generated-array 📝 50.2%
1878 1752 check-if-array-is-sorted-and-rotated 50.2%
2536 2446 determine-if-two-events-have-conflict 50.0%
455 455 assign-cookies Java 49.9%
1 1 two-sum Java 📝 49.8%
2518 2432 the-employee-that-worked-on-the-longest-task 49.6%
1039 997 find-the-town-judge Java 📝 49.5%
1904 1796 second-largest-digit-in-a-string 49.5%
501 501 find-mode-in-binary-search-tree 49.4%
1260 1154 day-of-the-year Java 49.4%
1630 1523 count-odd-numbers-in-an-interval-range 📝 49.4%
674 674 longest-continuous-increasing-subsequence Java 📝 49.3%
110 110 balanced-binary-tree 📝 49.2%
2598 2515 shortest-distance-to-target-string-in-a-circular-array 48.8%
504 504 base-7 48.6%
112 112 path-sum 📝 48.4%
2694 2644 find-the-maximum-divisibility-score 48.4%
551 551 student-attendance-record-i 📝 48.2%
1274 1360 number-of-days-between-two-dates 48.2%
874 844 backspace-string-compare Java 📝 48.1%
1698 1576 replace-all-s-to-avoid-consecutive-repeating-characters 48.1%
141 141 linked-list-cycle Java 📝 47.6%
392 392 is-subsequence Java 📝 47.4%
228 228 summary-ranges Java 📝 47.3%
748 747 largest-number-at-least-twice-of-others Java 📝 47.3%
1227 1128 number-of-equivalent-domino-pairs Java 47.2%
1031 989 add-to-array-form-of-integer Java 📝 47.0%
88 88 merge-sorted-array Java 📝 46.8%
405 405 convert-a-number-to-hexadecimal 46.8%
1071 1018 binary-prefix-divisible-by-5 Java 46.8%
572 572 subtree-of-another-tree 📝 46.5%
441 441 arranging-coins Java 📝 46.3%
203 203 remove-linked-list-elements 📝 46.2%
342 342 power-of-four Java 📝 46.2%
2645 2582 pass-the-pillow 46.2%
231 231 power-of-two Java 📝 46.1%
745 744 find-smallest-letter-greater-than-target 📝 46.0%
2723 2609 find-the-longest-balanced-substring-of-a-binary-string 46.0%
2337 2259 remove-digit-from-number-to-maximize-result 45.9%
628 628 maximum-product-of-three-numbers Java 📝 45.8%
717 717 1-bit-and-2-bit-characters Java 📝 45.7%
326 326 power-of-three Java 📝 45.6%
2350 2239 find-closest-number-to-zero 45.3%
1915 1790 check-if-one-string-swap-can-make-strings-equal 45.2%
837 819 most-common-word 📝 44.7%
111 111 minimum-depth-of-binary-tree 📝 44.6%
125 125 valid-palindrome 📝 44.5%
671 671 second-minimum-node-in-a-binary-tree 📝 44.1%
866 836 rectangle-overlap Java 📝 43.9%
2496 2409 count-days-spent-together 43.9%
66 66 plus-one Java 📝 43.7%
459 459 repeated-substring-pattern 📝 43.7%
643 643 maximum-average-subarray-i Java 📝 43.7%
35 35 search-insert-position Java 📝 43.6%
1714 1592 rearrange-spaces-between-words 43.5%
278 278 first-bad-version Java 📝 43.4%
367 367 valid-perfect-square Java 📝 43.4%
58 58 length-of-last-word Java 📝 43.3%
482 482 license-key-formatting 📝 43.3%
1689 1566 detect-pattern-of-length-m-repeated-k-or-more-times 43.3%
2528 2437 number-of-valid-clock-times 43.3%
205 205 isomorphic-strings Java 📝 43.0%
2204 2099 find-subsequence-of-length-k-with-the-largest-sum 42.8%
219 219 contains-duplicate-ii Java 📝 42.6%
645 645 set-mismatch 📝 42.6%
1062 1013 partition-array-into-three-parts-with-equal-sum Java 42.6%
1858 1736 latest-time-by-replacing-hidden-digits 42.5%
263 263 ugly-number Java 📝 42.2%
290 290 word-pattern Java 📝 41.7%
2459 2383 minimum-hours-of-training-to-win-a-competition 41.0%
14 14 longest-common-prefix Java 📝 40.9%
20 20 valid-parentheses Java 📝 40.5%
1349 1232 check-if-it-is-a-straight-line Java 📝 40.2%
1910 1784 check-if-binary-string-has-at-most-one-segment-of-ones 39.9%
680 680 valid-palindrome-ii 📝 39.4%
28 28 find-the-index-of-the-first-occurrence-in-a-string Java 📝 39.3%
1764 1668 maximum-repeating-substring 39.3%
507 507 perfect-number 📝 37.7%
2602 2511 maximum-enemy-forts-that-can-be-captured 37.7%
69 69 sqrtx Java 📝 37.5%
434 434 number-of-segments-in-a-string 📝 37.1%
1115 1037 valid-boomerang 36.9%
1933 1805 number-of-different-integers-in-a-string 36.7%
1468 1346 check-if-n-and-its-double-exist 36.6%
168 168 excel-sheet-column-title Java 35.7%
2619 2525 categorize-box-according-to-criteria 34.3%
978 941 valid-mountain-array Java 📝 33.4%
414 414 third-maximum-number Java 📝 33.3%
2684 2660 determine-the-winner-of-a-bowling-game 33.1%
961 925 long-pressed-name Java 📝 33.0%
605 605 can-place-flowers Java 📝 32.7%
2722 2614 prime-in-diagonal 32.4%
950 914 x-of-a-kind-in-a-deck-of-cards Java 📝 31.0%
889 859 buddy-strings Java 📝 29.2%
2173 2047 number-of-valid-words-in-a-sentence 29.1%
2020 1909 remove-one-element-to-make-the-array-strictly-increasing 26.2%
2663 2591 distribute-money-to-maximum-children 18.5%
2532 2423 remove-letter-to-equalize-frequency 17.8%
1807 1689 partitioning-into-minimum-number-of-deci-binary-numbers 📝 89.1%
1572 1476 subrectangle-queries 88.3%
2481 2396 strictly-palindromic-number 87.6%
1254 1302 deepest-leaves-sum Java 📝 86.6%
1939 1828 queries-on-number-of-points-inside-a-circle 86.2%
535 535 encode-and-decode-tinyurl Java 📝 86.0%
825 807 max-increase-to-keep-city-skyline Java 📝 86.0%
2299 2181 merge-nodes-in-between-zeros 86.0%
2631 2545 sort-the-students-by-their-kth-score 85.7%
2724 2610 convert-an-array-into-a-2d-array-with-conditions 85.7%
1114 1038 binary-search-tree-to-greater-sum-tree Java 85.6%
1407 1282 group-the-people-given-the-group-size-they-belong-to Java 85.6%
1243 1315 sum-of-nodes-with-even-valued-grandparent Java 85.5%
2519 2433 find-the-original-array-of-prefix-xor 85.3%
1895 1769 minimum-number-of-operations-to-move-all-balls-to-each-box 85.2%
2347 2265 count-nodes-equal-to-average-of-subtree 85.1%
654 654 maximum-binary-tree Java 📝 84.8%
2265 2161 partition-array-according-to-given-pivot 84.7%
1742 1637 widest-vertical-area-between-two-points-containing-no-points 84.4%
2471 2391 minimum-amount-of-time-to-collect-garbage 84.0%
1525 1409 queries-on-a-permutation-with-key 83.5%
1253 1329 sort-the-matrix-diagonally 📝 83.3%
2239 2120 execution-of-all-suffix-instructions-staying-in-a-grid 82.9%
813 797 all-paths-from-source-to-target 📝 82.3%
2244 2125 number-of-laser-beams-in-a-bank 81.8%
1674 1551 minimum-operations-to-make-array-equal 📝 81.6%
1050 1008 construct-binary-search-tree-from-preorder-traversal Java 📝 81.2%
2271 2149 rearrange-array-elements-by-sign 81.1%
1285 1382 balance-a-binary-search-tree 80.7%
2236 2130 maximum-twin-sum-of-a-linked-list 📝 80.5%
1752 1630 arithmetic-subarrays 80.4%
1945 1817 finding-the-users-active-minutes 80.3%
930 894 all-possible-full-binary-trees 📝 80.0%
2487 2405 optimal-partition-of-string 📝 80.0%
1310 2079 watering-plants 79.9%
1988 1877 minimize-maximum-pair-sum-in-array 79.9%
1427 1305 all-elements-in-two-binary-search-trees Java 📝 79.8%
768 763 partition-labels 📝 79.7%
2606 2482 difference-between-ones-and-zeros-in-row-and-column 79.7%
2766 2657 find-the-prefix-common-array-of-two-arrays 79.6%
1661 1557 minimum-number-of-vertices-to-reach-all-nodes 📝 79.3%
1683 1561 maximum-number-of-coins-you-can-get 79.2%
2402 2317 maximum-xor-after-operations 79.2%
2525 2442 count-number-of-distinct-integers-after-reverse-operations 78.6%
2324 2221 find-triangular-sum-of-an-array 78.3%
1582 1472 design-browser-history 📝 78.2%
1469 1347 minimum-number-of-steps-to-make-two-strings-anagram 77.9%
1951 1823 find-the-winner-of-the-circular-game 77.9%
987 950 reveal-cards-in-increasing-order 📝 77.8%
1711 1605 find-valid-matrix-given-row-and-column-sums 77.8%
926 890 find-and-replace-pattern 📝 77.5%
1761 1641 count-sorted-vowel-strings 📝 77.5%
1497 1381 design-a-stack-with-increment-operation 77.1%
2493 2415 reverse-odd-levels-of-binary-tree 77.0%
1940 1829 maximum-xor-for-each-query 76.9%
1058 1061 lexicographically-smallest-equivalent-string 📝 76.5%
1387 1261 find-elements-in-a-contaminated-binary-tree 76.4%
237 237 delete-node-in-a-linked-list Java 📝 76.2%
1553 1442 count-triplets-that-can-form-two-arrays-of-equal-xor 76.1%
1160 1079 letter-tile-possibilities 76.0%
46 46 permutations 📝 75.8%
1092 1026 maximum-difference-between-node-and-ancestor 📝 75.8%
957 921 minimum-add-to-make-parentheses-valid 📝 75.6%
2170 2044 count-number-of-maximum-bitwise-or-subsets 75.6%
829 811 subdomain-visit-count Java 📝 75.5%
1242 1314 matrix-block-sum 75.5%
2413 2336 smallest-number-in-infinite-set 📝 75.2%
78 78 subsets Java 📝 75.1%
1194 1104 path-in-zigzag-labelled-binary-tree 75.1%
419 419 battleships-in-a-board 74.9%
891 861 score-after-flipping-matrix 📝 74.9%
2021 1910 remove-all-occurrences-of-a-substring 74.7%
772 427 construct-quad-tree 📝 74.6%
1402 1277 count-square-submatrices-with-all-ones Java 74.6%
1450 1325 delete-leaves-with-a-given-value 74.6%
2411 2326 spiral-matrix-iv 74.6%
2456 2375 construct-smallest-number-from-di-string 74.4%
1544 1448 count-good-nodes-in-binary-tree 📝 74.3%
2508 2428 maximum-sum-of-an-hourglass 74.3%
784 701 insert-into-a-binary-search-tree Java 📝 74.2%
1533 1418 display-table-of-food-orders-in-a-restaurant 74.0%
1961 1833 maximum-ice-cream-bars 📝 73.9%
800 784 letter-case-permutation Java 📝 73.8%
1765 1669 merge-in-between-linked-lists 73.6%
442 442 find-all-duplicates-in-an-array Java 📝 73.5%
921 885 spiral-matrix-iii 📝 73.5%
1512 1396 design-underground-system 📝 73.5%
2133 2023 number-of-pairs-of-strings-with-concatenation-equal-to-target 73.5%
1211 1286 iterator-for-combination 📝 73.3%
406 406 queue-reconstruction-by-height Java 📝 73.0%
1208 1111 maximum-nesting-depth-of-two-valid-parentheses-strings 72.9%
2387 2294 partition-array-such-that-maximum-difference-is-k 72.7%
22 22 generate-parentheses 📝 72.6%
1516 1415 the-k-th-lexicographical-string-of-all-happy-strings-of-length-n 72.6%
1652 1529 minimum-suffix-flips 72.6%
2470 2390 removing-stars-from-a-string 📝 72.5%
832 814 binary-tree-pruning 📝 72.4%
1021 979 distribute-coins-in-binary-tree 📝 72.3%
1354 2225 find-players-with-zero-or-one-losses 📝 72.3%
1435 1310 xor-queries-of-a-subarray 72.3%
2306 2196 create-binary-tree-from-descriptions 72.3%
2356 2275 largest-combination-with-bitwise-and-greater-than-zero 72.3%
1935 1806 minimum-number-of-operations-to-reinitialize-a-permutation 72.1%
1552 1441 build-an-array-with-stack-operations 71.9%
695 695 max-area-of-island 📝 71.8%
1342 1222 queens-that-can-attack-the-king 71.8%
2293 2186 minimum-number-of-steps-to-make-two-strings-anagram-ii 71.8%
1121 1043 partition-array-for-maximum-sum 71.7%
1971 1860 incremental-memory-leak 71.7%
871 841 keys-and-rooms 📝 71.6%
1324 1706 where-will-the-ball-fall 📝 71.6%
537 537 complex-number-multiplication 📝 71.4%
1978 1850 minimum-adjacent-swaps-to-reach-the-kth-smallest-number 71.4%
1028 986 interval-list-intersections Java 📝 71.3%
2676 2640 find-the-score-of-all-prefixes-of-an-array 71.3%
48 48 rotate-image Java 📝 71.2%
1743 1638 count-substrings-that-differ-by-one-character 71.2%
929 893 groups-of-special-equivalent-strings Java 📝 71.1%
925 889 construct-binary-tree-from-preorder-and-postorder-traversal 📝 71.0%
1218 1123 lowest-common-ancestor-of-deepest-leaves 71.0%
2031 1884 egg-drop-with-2-eggs-and-n-floors 70.8%
764 429 n-ary-tree-level-order-traversal 📝 70.7%
2428 2352 equal-row-and-column-pairs 70.6%
2621 2527 find-xor-beauty-of-array 70.4%
230 230 kth-smallest-element-in-a-bst Java 📝 70.3%
1009 969 pancake-sorting 📝 70.2%
451 451 sort-characters-by-frequency Java 📝 70.1%
1488 1387 sort-integers-by-the-power-value 70.1%
173 173 binary-search-tree-iterator 📝 69.9%
1459 1357 apply-discount-every-n-orders 69.9%
909 877 stone-game 📝 69.8%
983 946 validate-stack-sequences 📝 69.4%
1464 1338 reduce-array-size-to-the-half 📝 69.4%
1207 1110 delete-nodes-and-return-forest 69.3%
1358 1237 find-positive-integer-solution-for-a-given-equation Java 69.3%
2095 1963 minimum-number-of-swaps-to-make-the-string-balanced 69.2%
967 931 minimum-falling-path-sum 📝 69.1%
999 959 regions-cut-by-slashes 📝 69.1%
807 791 custom-sort-string 📝 69.0%
882 852 peak-index-in-a-mountain-array Java 📝 69.0%
896 865 smallest-subtree-with-all-the-deepest-nodes 📝 69.0%
1359 1238 circular-permutation-in-binary-representation 69.0%
1530 1433 check-if-a-string-can-break-another-string 69.0%
39 39 combination-sum Java 📝 68.8%
1632 1525 number-of-good-ways-to-split-a-string 68.8%
1073 1020 number-of-enclaves 📝 68.7%
1866 1743 restore-the-array-from-adjacent-pairs 68.7%
2103 1992 find-all-groups-of-farmland 68.3%
1228 1130 minimum-cost-tree-from-leaf-values 68.2%
2677 2641 cousins-in-binary-tree-ii 68.2%
1027 985 sum-of-even-numbers-after-queries Java 📝 68.1%
538 538 convert-bst-to-greater-tree 📝 67.9%
1056 1011 capacity-to-ship-packages-within-d-days 📝 67.8%
216 216 combination-sum-iii Java 📝 67.7%
260 260 single-number-iii 📝 67.7%
609 609 find-duplicate-file-in-system 📝 67.7%
1445 1343 number-of-sub-arrays-of-size-k-and-average-greater-than-or-equal-to-threshold 67.7%
1568 1457 pseudo-palindromic-paths-in-a-binary-tree 📝 67.7%
2035 1905 count-sub-islands 67.7%
2366 2279 maximum-bags-with-full-capacity-of-rocks 📝 67.7%
2437 2358 maximum-number-of-groups-entering-a-competition 67.6%
59 59 spiral-matrix-ii Java 📝 67.5%
1474 1372 longest-zigzag-path-in-a-binary-tree 📝 67.4%
2573 2487 remove-nodes-from-linked-list 67.4%
289 289 game-of-life Java 📝 67.3%
1040 998 maximum-binary-tree-ii 67.3%
2568 2477 minimum-fuel-cost-to-report-to-the-capital 📝 67.2%
77 77 combinations 📝 67.1%
513 513 find-bottom-left-tree-value 67.0%
528 1721 swapping-nodes-in-a-linked-list 📝 67.0%
647 647 palindromic-substrings 📝 67.0%
1380 1254 number-of-closed-islands 📝 67.0%
1511 1395 count-number-of-teams 67.0%
49 49 group-anagrams Java 📝 66.8%
988 951 flip-equivalent-binary-trees 📝 66.8%
1879 1753 maximum-score-from-removing-stones 66.8%
1576 1466 reorder-routes-to-make-all-paths-lead-to-the-city-zero 📝 66.7%
1782 1663 smallest-string-with-a-given-numeric-value 📝 66.7%
2432 2348 number-of-zero-filled-subarrays 📝 66.7%
1934 1807 evaluate-the-bracket-pairs-of-a-string 66.5%
669 669 trim-a-binary-search-tree Java 📝 66.4%
215 215 kth-largest-element-in-an-array 📝 66.3%
739 739 daily-temperatures 📝 66.3%
1397 1268 search-suggestions-system 📝 66.2%
1116 1161 maximum-level-sum-of-a-binary-tree 📝 66.0%
1441 1318 minimum-flips-to-make-a-or-b-equal-to-c 📝 66.0%
1889 1780 check-if-number-is-a-sum-of-powers-of-three 66.0%
1298 1190 reverse-substrings-between-each-pair-of-parentheses 65.9%
1371 1249 minimum-remove-to-make-valid-parentheses 📝 65.9%
1955 1845 seat-reservation-manager 65.9%
1014 973 k-closest-points-to-origin Java 📝 65.8%
1025 983 minimum-cost-for-tickets 📝 65.8%
1491 1375 number-of-times-binary-string-is-prefix-aligned 65.8%
529 529 minesweeper 65.7%
690 690 employee-importance 📝 65.7%
1394 2304 minimum-path-cost-in-a-grid 65.7%
1747 1625 lexicographically-smallest-string-after-applying-operations 65.7%
1350 1233 remove-sub-folders-from-the-filesystem 65.6%
1362 1227 airplane-seat-assignment-probability 65.6%
1515 1414 find-the-minimum-number-of-fibonacci-numbers-whose-sum-is-k 65.5%
2328 2232 minimize-result-by-adding-parentheses-to-expression 65.5%
1095 1029 two-city-scheduling Java 📝 65.4%
714 714 best-time-to-buy-and-sell-stock-with-transaction-fee 📝 65.3%
937 901 online-stock-span Java 📝 65.3%
1543 1447 simplified-fractions 65.3%
1972 1861 rotating-the-box 65.3%
2107 1980 find-unique-binary-string 65.3%
2169 2043 simple-bank-system 65.3%
968 932 beautiful-array 📝 65.2%
238 238 product-of-array-except-self Java 📝 65.1%
413 413 arithmetic-slices 📝 65.1%
131 131 palindrome-partitioning 📝 65.0%
508 508 most-frequent-subtree-sum 📝 65.0%
955 919 complete-binary-tree-inserter 📝 65.0%
2026 1899 merge-triplets-to-form-target-triplet 64.8%
886 856 score-of-parentheses 📝 64.7%
1240 1140 stone-game-ii 📝 64.6%
102 102 binary-tree-level-order-traversal 📝 64.5%
515 515 find-largest-value-in-each-tree-row 64.5%
2600 2517 maximum-tastiness-of-candy-basket 64.5%
526 526 beautiful-arrangement 📝 64.4%
347 347 top-k-frequent-elements 📝 64.1%
1369 1247 minimum-swaps-to-make-strings-equal 64.1%
1706 1584 min-cost-to-connect-all-points 📝 64.1%
122 122 best-time-to-buy-and-sell-stock-ii Java 📝 64.0%
241 241 different-ways-to-add-parentheses 64.0%
547 547 number-of-provinces 📝 63.9%
1662 1558 minimum-numbers-of-function-calls-to-make-target-array 63.9%
2278 2177 find-three-consecutive-integers-that-sum-to-a-given-number 63.9%
864 835 image-overlap 📝 63.8%
1331 1219 path-with-maximum-gold 63.7%
1722 1600 throne-inheritance 63.7%
2572 2486 append-characters-to-string-to-make-subsequence 63.7%
1428 1306 jump-game-iii 📝 63.6%
1147 1072 flip-columns-for-maximum-number-of-equal-rows 63.5%
2261 2155 all-divisions-with-the-highest-score-of-a-binary-array 63.5%
900 869 reordered-power-of-2 📝 63.4%
1460 1358 number-of-substrings-containing-all-three-characters 63.4%
1700 1578 minimum-time-to-make-rope-colorful 📝 63.4%
1446 1344 angle-between-hands-of-a-clock 📝 63.3%
1585 1492 the-kth-factor-of-n 📝 63.3%
1783 1664 ways-to-make-a-fair-array 63.3%
503 503 next-greater-element-ii 📝 63.2%
1046 1004 max-consecutive-ones-iii 📝 63.2%
1561 1451 rearrange-words-in-a-sentence 63.2%
1787 1685 sum-of-absolute-differences-in-a-sorted-array 63.2%
1473 1371 find-the-longest-substring-containing-vowels-in-even-counts 63.1%
1835 1734 decode-xored-permutation 63.1%
888 858 mirror-reflection 📝 63.0%
208 208 implement-trie-prefix-tree Java 📝 62.9%
2362 2244 minimum-rounds-to-complete-all-tasks 📝 62.9%
382 382 linked-list-random-node 📝 62.8%
1502 1400 construct-k-palindrome-strings 62.8%
62 62 unique-paths Java 📝 62.7%
648 648 replace-words 📝 62.7%
1554 1443 minimum-time-to-collect-all-apples-in-a-tree 📝 62.7%
712 712 minimum-ascii-delete-sum-for-two-strings 📝 62.6%
1803 1701 average-waiting-time 62.6%
398 398 random-pick-index 📝 62.5%
2016 1887 reduction-operations-to-make-the-array-elements-equal 62.4%
684 684 redundant-connection 📝 62.3%
893 863 all-nodes-distance-k-in-binary-tree 📝 62.3%
1442 1319 number-of-operations-to-make-network-connected 📝 62.2%
2558 2471 minimum-number-of-operations-to-sort-a-binary-tree-by-level 62.2%
12 12 integer-to-roman 📝 62.1%
64 64 minimum-path-sum Java 📝 62.1%
655 655 print-binary-tree 📝 62.1%
114 114 flatten-binary-tree-to-linked-list 📝 62.0%
341 341 flatten-nested-list-iterator 📝 61.9%
235 235 lowest-common-ancestor-of-a-binary-search-tree Java 📝 61.8%
378 378 kth-smallest-element-in-a-sorted-matrix 📝 61.8%
105 105 construct-binary-tree-from-preorder-and-inorder-traversal Java 📝 61.7%
199 199 binary-tree-right-side-view 📝 61.7%
386 386 lexicographical-numbers 61.7%
516 516 longest-palindromic-subsequence 📝 61.7%
1418 2305 fair-distribution-of-cookies 61.7%
1449 1324 print-words-vertically 61.7%
1273 1170 compare-strings-by-frequency-of-the-smallest-character Java 61.6%
24 24 swap-nodes-in-pairs Java 📝 61.5%
962 926 flip-string-to-monotone-increasing 📝 61.5%
1845 1727 largest-submatrix-with-rearrangements 61.4%
107 107 binary-tree-level-order-traversal-ii Java 📝 61.3%
328 328 odd-even-linked-list Java 📝 61.3%
1212 1291 sequential-digits 📝 61.3%
1890 1781 sum-of-beauty-of-all-substrings 61.3%
636 636 exclusive-time-of-functions 📝 61.2%
1370 1248 count-number-of-nice-subarrays 61.2%
1653 1530 number-of-good-leaf-nodes-pairs 61.2%
2078 1947 maximum-compatibility-score-sum 61.2%
2497 2410 maximum-matching-of-players-with-trainers 61.2%
129 129 sum-root-to-leaf-numbers 📝 61.1%
1169 1090 largest-values-from-labels 61.1%
1705 1583 count-unhappy-friends 61.1%
1860 1738 find-kth-largest-xor-coordinate-value 61.1%
805 789 escape-the-ghosts 📝 60.9%
1080 1023 camelcase-matching 60.8%
2591 2498 frog-jump-ii 60.8%
222 222 count-complete-tree-nodes 📝 60.7%
518 518 coin-change-ii Java 📝 60.7%
1206 1109 corporate-flight-bookings 60.7%
1364 1726 tuple-with-same-product 60.7%
2379 2285 maximum-total-importance-of-roads 60.7%
116 116 populating-next-right-pointers-in-each-node 📝 60.6%
839 820 short-encoding-of-words 📝 60.6%
1070 1017 convert-to-base-2 60.6%
1581 1471 the-k-strongest-values-in-an-array 60.5%
1586 1493 longest-subarray-of-1s-after-deleting-one-element 60.5%
1886 1760 minimum-limit-of-balls-in-a-bag 60.5%
2134 2024 maximize-the-confusion-of-an-exam 📝 60.5%
1876 1765 map-of-highest-peak 60.4%
2227 2104 sum-of-subarray-ranges 📝 60.4%
2270 2150 find-all-lonely-numbers-in-the-array 60.4%
109 109 convert-sorted-list-to-binary-search-tree 📝 60.3%
2094 1962 remove-stones-to-minimize-the-total 📝 60.3%
491 491 non-decreasing-subsequences 📝 60.2%
1455 1333 filter-restaurants-by-vegan-friendly-price-and-distance 60.2%
2550 2452 words-within-two-edits-of-dictionary 60.2%
106 106 construct-binary-tree-from-inorder-and-postorder-traversal Java 📝 60.1%
167 167 two-sum-ii-input-array-is-sorted Java 📝 60.1%
462 462 minimum-moves-to-equal-array-elements-ii 📝 60.0%
1072 1019 next-greater-node-in-linked-list 📝 60.0%
318 318 maximum-product-of-word-lengths 📝 59.9%
553 553 optimal-division 📝 59.9%
583 583 delete-operation-for-two-strings 📝 59.9%
1276 1362 closest-divisors 59.9%
96 96 unique-binary-search-trees 📝 59.8%
667 667 beautiful-arrangement-ii 📝 59.8%
399 399 evaluate-division 📝 59.7%
445 445 add-two-numbers-ii 📝 59.7%
766 430 flatten-a-multilevel-doubly-linked-list 📝 59.7%
1096 1031 maximum-sum-of-two-non-overlapping-subarrays 59.6%
1396 1267 count-servers-that-communicate 59.6%
623 623 add-one-row-to-tree 📝 59.5%
1196 1105 filling-bookcase-shelves 59.5%
936 900 rle-iterator 📝 59.4%
1063 1014 best-sightseeing-pair 59.4%
2279 2178 maximum-split-of-positive-even-integers 59.4%
948 912 sort-an-array 📝 59.3%
1129 1048 longest-string-chain 📝 59.3%
2216 2095 delete-the-middle-node-of-a-linked-list 📝 59.3%
1105 1035 uncrossed-lines Java 📝 59.2%
1567 1456 maximum-number-of-vowels-in-a-substring-of-given-length 📝 59.2%
2022 1911 maximum-alternating-subsequence-sum 59.2%
287 287 find-the-duplicate-number Java 📝 59.1%
540 540 single-element-in-a-sorted-array Java 📝 59.1%
236 236 lowest-common-ancestor-of-a-binary-tree 📝 59.0%
652 652 find-duplicate-subtrees 📝 59.0%
1615 1508 range-sum-of-sorted-subarray-sums 59.0%
1770 1647 minimum-deletions-to-make-character-frequencies-unique 📝 59.0%
1956 1846 maximum-element-after-decreasing-and-rearranging 59.0%
984 947 most-stones-removed-with-same-row-or-column 📝 58.9%
1756 1653 minimum-deletions-to-make-string-balanced 58.9%
2662 2596 check-knight-tour-configuration 58.9%
75 75 sort-colors Java 📝 58.8%
284 284 peeking-iterator 📝 58.7%
1738 1615 maximal-network-rank 58.7%
2581 2491 divide-players-into-teams-of-equal-skill 58.7%
137 137 single-number-ii 📝 58.6%
1667 1545 find-kth-bit-in-nth-binary-string 58.6%
881 851 loud-and-rich 📝 58.5%
1849 1749 maximum-absolute-sum-of-any-subarray 58.5%
1675 1552 magnetic-force-between-two-balls 58.4%
2533 2425 bitwise-xor-of-all-pairings 58.4%
498 498 diagonal-traverse 📝 58.3%
1045 1003 check-if-word-is-valid-after-substitutions 58.3%
1250 1143 longest-common-subsequence Java 📝 58.3%
1492 1376 time-needed-to-inform-all-employees 📝 58.3%
36 36 valid-sudoku Java 📝 58.2%
780 769 max-chunks-to-make-sorted 📝 58.2%
1808 1690 stone-game-vii 📝 58.2%
2764 2658 maximum-number-of-fish-in-a-grid 58.1%
394 394 decode-string 📝 58.0%
2233 2110 number-of-smooth-descent-periods-of-a-stock 58.0%
384 384 shuffle-an-array 📝 57.9%
1159 1081 smallest-subsequence-of-distinct-characters 57.9%
2149 2038 remove-colored-pieces-if-both-neighbors-are-the-same-color 57.9%
2582 2492 minimum-score-of-a-path-between-two-cities 📝 57.9%
1308 1202 smallest-string-with-swaps 📝 57.8%
1483 1366 rank-teams-by-votes 57.8%
2445 2368 reachable-nodes-with-restrictions 📝 57.7%
2705 2568 minimum-impossible-or 57.7%
835 817 linked-list-components 📝 57.6%
1813 1695 maximum-erasure-value 📝 57.6%
47 47 permutations-ii 📝 57.5%
2388 2295 replace-elements-in-an-array 57.5%
1007 967 numbers-with-same-consecutive-differences 📝 57.4%
1304 1405 longest-happy-string 57.4%
1628 1504 count-submatrices-with-all-ones 57.4%
2649 2579 count-total-number-of-colored-cells 57.4%
89 89 gray-code 📝 57.3%
692 692 top-k-frequent-words 📝 57.3%
725 725 split-linked-list-in-parts 📝 57.3%
113 113 path-sum-ii 📝 57.2%
454 454 4sum-ii 📝 57.2%
859 641 design-circular-deque 57.2%
1065 1016 binary-string-with-substrings-representing-1-to-n 57.2%
1798 1679 max-number-of-k-sum-pairs 📝 57.2%
200 200 number-of-islands Java 📝 57.1%
449 449 serialize-and-deserialize-bst 📝 57.1%
1138 1052 grumpy-bookstore-owner 57.1%
1905 1797 design-authentication-manager 57.1%
103 103 binary-tree-zigzag-level-order-traversal 📝 57.0%
676 676 implement-magic-dictionary 📝 57.0%
740 740 delete-and-earn 📝 57.0%
868 838 push-dominoes 📝 57.0%
1222 1288 remove-covered-intervals 📝 57.0%
1767 1670 design-front-middle-back-queue 57.0%
1800 1680 concatenation-of-consecutive-binary-numbers 📝 57.0%
820 802 find-eventual-safe-states 📝 56.9%
1562 1452 people-whose-list-of-favorite-companies-is-not-a-subset-of-another-list 56.9%
2182 2058 find-the-minimum-and-maximum-number-of-nodes-between-critical-points 56.9%
2351 2240 number-of-ways-to-buy-pens-and-pencils 56.9%
677 677 map-sum-pairs 📝 56.8%
729 729 my-calendar-i 📝 56.8%
1184 1094 car-pooling Java 📝 56.8%
2461 2385 amount-of-time-for-binary-tree-to-be-infected 56.8%
17 17 letter-combinations-of-a-phone-number 📝 56.7%
2664 2592 maximize-greatness-of-an-array 56.7%
804 788 rotated-digits Java 📝 56.6%
1557 1461 check-if-a-string-contains-all-binary-codes-of-size-k 📝 56.6%
2232 2109 adding-spaces-to-a-string 56.6%
539 539 minimum-time-difference 56.5%
621 621 task-scheduler 📝 56.5%
646 646 maximum-length-of-pair-chain 📝 56.5%
2492 2414 length-of-the-longest-alphabetical-continuous-substring 56.5%
565 565 array-nesting 📝 56.4%
974 937 reorder-data-in-log-files Java 📝 56.4%
1422 1296 divide-array-in-sets-of-k-consecutive-numbers 56.4%
309 309 best-time-to-buy-and-sell-stock-with-cooldown 📝 56.3%
721 721 accounts-merge 📝 56.3%
834 816 ambiguous-coordinates 📝 56.3%
1320 1209 remove-all-adjacent-duplicates-in-string-ii 📝 56.3%
1408 1283 find-the-smallest-divisor-given-a-threshold 📝 56.3%
1777 1657 determine-if-two-strings-are-close 📝 56.3%
343 343 integer-break 56.2%
998 958 check-completeness-of-a-binary-tree 📝 56.2%
876 846 hand-of-straights 📝 56.1%
1113 1040 moving-stones-until-consecutive-ii 56.1%
1930 1798 maximum-number-of-consecutive-values-you-can-make 56.1%
90 90 subsets-ii Java 📝 56.0%
453 453 minimum-moves-to-equal-array-elements Java 📝 56.0%
2378 2284 sender-with-largest-word-count 56.0%
917 881 boats-to-save-people 📝 55.8%
1627 1503 last-moment-before-all-ants-fall-out-of-a-plank 55.8%
1753 1631 path-with-minimum-effort 📝 55.8%
753 752 open-the-lock 📝 55.7%
1111 1039 minimum-score-triangulation-of-polygon 55.7%
1048 1006 clumsy-factorial 55.6%
1604 1481 least-number-of-unique-integers-after-k-removals 55.6%
2576 2483 minimum-penalty-for-a-shop 55.6%
2212 2091 removing-minimum-and-maximum-from-array 55.5%
1312 2201 count-artifacts-that-can-be-extracted 55.4%
1715 1593 split-a-string-into-the-max-number-of-unique-substrings 55.4%
2669 2606 find-the-substring-with-maximum-cost 55.4%
148 148 sort-list 📝 55.3%
452 452 minimum-number-of-arrows-to-burst-balloons 📝 55.3%
1119 1041 robot-bounded-in-circle 📝 55.3%
1643 1519 number-of-nodes-in-the-sub-tree-with-the-same-label 📝 55.3%
731 731 my-calendar-ii 📝 55.0%
1456 1334 find-the-city-with-the-smallest-number-of-neighbors-at-a-threshold-distance 55.0%
447 447 number-of-boomerangs Java 54.9%
1788 1686 stone-game-vi 54.8%
120 120 triangle Java 📝 54.6%
797 781 rabbits-in-forest 📝 54.6%
1003 963 minimum-area-rectangle-ii 📝 54.6%
1616 1509 minimum-difference-between-largest-and-smallest-value-in-three-moves 54.6%
2130 2002 maximum-product-of-the-length-of-two-palindromic-subsequences 54.6%
417 417 pacific-atlantic-water-flow 📝 54.5%
2187 2063 vowels-of-all-substrings 54.5%
971 934 shortest-bridge 📝 54.4%
1731 1609 even-odd-tree 54.4%
1016 974 subarray-sums-divisible-by-k 📝 54.3%
1033 991 broken-calculator 📝 54.1%
11 11 container-with-most-water Java 📝 54.0%
1263 1155 number-of-dice-rolls-with-target-sum 📝 54.0%
2512 2424 longest-uploaded-prefix 54.0%
337 337 house-robber-iii 📝 53.9%
421 421 maximum-xor-of-two-numbers-in-an-array 📝 53.9%
862 833 find-and-replace-in-string 📝 53.9%
1605 1482 minimum-number-of-days-to-make-m-bouquets 53.9%
2196 2074 reverse-nodes-in-even-length-groups 53.8%
952 916 word-subsets 📝 53.7%
554 554 brick-wall 📝 53.6%
1157 1080 insufficient-nodes-in-root-to-leaf-paths 53.6%
2695 2593 find-score-of-an-array-after-marking-all-elements 53.6%
650 650 2-keys-keyboard 📝 53.5%
2780 2673 make-costs-of-paths-equal-in-a-binary-tree 53.5%
40 40 combination-sum-ii Java 📝 53.4%
1295 1954 minimum-garden-perimeter-to-collect-enough-apples 53.4%
2482 2397 maximum-rows-covered-by-columns 53.4%
1130 1049 last-stone-weight-ii 53.3%
1413 1292 maximum-side-length-of-a-square-with-sum-less-than-or-equal-to-threshold 53.3%
1984 1855 maximum-distance-between-a-pair-of-values 📝 53.3%
133 133 clone-graph 📝 53.2%
801 785 is-graph-bipartite 📝 53.2%
2473 2342 max-sum-of-a-pair-with-equal-sum-of-digits 53.2%
638 638 shopping-offers 📝 53.1%
1901 1775 equal-sum-arrays-with-minimum-number-of-operations 53.1%
304 304 range-sum-query-2d-immutable 📝 53.0%
831 813 largest-sum-of-averages 📝 53.0%
976 939 minimum-area-rectangle 📝 53.0%
1036 994 rotting-oranges 📝 53.0%
1874 1764 form-array-by-concatenating-subarrays-of-another-array 53.0%
778 767 reorganize-string 📝 52.9%
143 143 reorder-list 📝 52.8%
380 380 insert-delete-getrandom-o1 Java 📝 52.8%
811 795 number-of-subarrays-with-bounded-maximum 📝 52.8%
279 279 perfect-squares 📝 52.7%
757 756 pyramid-transition-matrix 📝 52.7%
806 790 domino-and-tromino-tiling 📝 52.7%
1055 1010 pairs-of-songs-with-total-durations-divisible-by-60 Java 📝 52.7%
1520 1404 number-of-steps-to-reduce-a-number-in-binary-representation-to-one 52.6%
2640 2554 maximum-number-of-integers-to-choose-from-a-range-i 52.6%
80 80 remove-duplicates-from-sorted-array-ii Java 📝 52.5%
95 95 unique-binary-search-trees-ii 📝 52.5%
592 592 fraction-addition-and-subtraction 📝 52.5%
1252 1328 break-a-palindrome 📝 52.5%
155 155 min-stack Java 📝 52.4%
319 319 bulb-switcher 📝 52.4%
433 433 minimum-genetic-mutation 📝 52.4%
966 930 binary-subarrays-with-sum 📝 52.4%
1917 1792 maximum-average-pass-ratio 52.4%
38 38 count-and-say 📝 52.3%
300 300 longest-increasing-subsequence 📝 52.3%
443 443 string-compression 📝 52.3%
1049 1007 minimum-domino-rotations-for-equal-row 📝 52.3%
2059 1930 unique-length-3-palindromic-subsequences 52.3%
2160 2033 minimum-operations-to-make-a-uni-value-grid 52.3%
2300 2182 construct-string-with-repeat-limit 52.3%
2587 2502 design-memory-allocator 52.3%
377 377 combination-sum-iv 📝 52.2%
477 477 total-hamming-distance 📝 52.2%
947 911 online-election 📝 52.2%
1360 1239 maximum-length-of-a-concatenated-string-with-unique-characters 📝 52.2%
1538 1423 maximum-points-you-can-obtain-from-cards 📝 52.2%
1819 1718 construct-the-lexicographically-largest-valid-sequence 52.2%
86 86 partition-list 📝 52.1%
424 424 longest-repeating-character-replacement 📝 52.1%
688 688 knight-probability-in-chessboard 📝 52.1%
985 948 bag-of-tokens 📝 52.1%
2047 1901 find-a-peak-element-ii 52.1%
2355 2274 maximum-consecutive-floors-without-special-floors 52.1%
720 720 longest-word-in-dictionary 📝 52.0%
744 743 network-delay-time 📝 52.0%
907 875 koko-eating-bananas 📝 52.0%
1023 981 time-based-key-value-store 📝 52.0%
1238 1138 alphabet-board-path 52.0%
2343 2257 count-unguarded-cells-in-the-grid 52.0%
357 357 count-numbers-with-unique-digits 51.9%
802 786 k-th-smallest-prime-fraction 📝 51.9%
901 870 advantage-shuffle 📝 51.9%
1117 1162 as-far-from-land-as-possible 📝 51.9%
1330 1218 longest-arithmetic-subsequence-of-given-difference 📝 51.9%
1248 1145 binary-tree-coloring-game 51.8%
1423 1297 maximum-number-of-occurrences-of-a-substring 51.8%
1311 1895 largest-magic-square 51.7%
808 792 number-of-matching-subsequences 📝 51.6%
73 73 set-matrix-zeroes Java 📝 51.5%
138 138 copy-list-with-random-pointer 📝 51.5%
860 622 design-circular-queue 📝 51.5%
815 799 champagne-tower 📝 51.4%
1006 966 vowel-spellchecker 📝 51.4%
1526 1410 html-entity-parser 51.4%
2284 2165 smallest-value-of-the-rearranged-number 51.4%
423 423 reconstruct-original-digits-from-english 📝 51.3%
486 486 predict-the-winner 📝 51.3%
982 945 minimum-increment-to-make-array-unique 📝 51.3%
2691 2559 count-vowel-strings-in-ranges 51.3%
147 147 insertion-sort-list 📝 51.2%
718 718 maximum-length-of-repeated-subarray 📝 51.2%
2255 2134 minimum-swaps-to-group-all-1s-together-ii 51.2%
99 99 recover-binary-search-tree 📝 51.1%
240 240 search-a-2d-matrix-ii 📝 51.1%
1748 1626 best-team-with-no-conflicts 📝 51.1%
2325 2222 number-of-ways-to-select-buildings 51.1%
436 436 find-right-interval 📝 51.0%
524 524 longest-word-in-dictionary-through-deleting 📝 51.0%
2338 2260 minimum-consecutive-cards-to-pick-up 51.0%
2151 2039 the-time-when-the-network-becomes-idle 50.9%
2192 2087 minimum-cost-homecoming-of-a-robot-in-a-grid 50.9%
481 481 magical-string 50.8%
659 659 split-array-into-consecutive-subsequences 📝 50.8%
1401 1276 number-of-burgers-with-no-waste-of-ingredients 50.8%
371 371 sum-of-two-integers 📝 50.7%
1120 1042 flower-planting-with-no-adjacent 50.7%
1388 1262 greatest-sum-divisible-by-three 50.7%
1431 2192 all-ancestors-of-a-node-in-a-directed-acyclic-graph 50.7%
2403 2316 count-unreachable-pairs-of-nodes-in-an-undirected-graph 📝 50.7%
611 611 valid-triangle-number 📝 50.6%
972 935 knight-dialer 📝 50.6%
2188 2064 minimized-maximum-of-products-distributed-to-any-store 50.6%
2332 2249 count-lattice-points-inside-a-circle 50.6%
672 672 bulb-switcher-ii 📝 50.5%
1032 990 satisfiability-of-equality-equations 📝 50.5%
1539 1424 diagonal-traverse-ii 50.5%
2779 2672 number-of-adjacent-elements-with-the-same-color 50.5%
117 117 populating-next-right-pointers-in-each-node-ii 📝 50.4%
435 435 non-overlapping-intervals 📝 50.4%
450 450 delete-node-in-a-bst 📝 50.4%
1081 1024 video-stitching 50.4%
1139 1053 previous-permutation-with-one-swap 50.4%
883 853 car-fleet 📝 50.3%
1030 988 smallest-string-starting-from-leaf 📝 50.3%
1995 1865 finding-pairs-with-a-certain-sum 50.3%
2139 2013 detect-squares 50.3%
2609 2521 distinct-prime-factors-of-product-of-array 50.3%
53 53 maximum-subarray Java 📝 50.2%
438 438 find-all-anagrams-in-a-string Java 📝 50.2%
1239 1139 largest-1-bordered-square 50.2%
1534 1419 minimum-number-of-frogs-croaking 50.2%
922 886 possible-bipartition Java 📝 50.1%
1477 1352 product-of-the-last-k-numbers 50.1%
2710 2571 minimum-operations-to-reduce-an-integer-to-0 50.1%
1011 971 flip-binary-tree-to-match-preorder-traversal 📝 50.0%
2197 2075 decode-the-slanted-ciphertext 50.0%
2245 2126 destroying-asteroids 50.0%
843 823 binary-trees-with-factors 📝 49.7%
1648 1541 minimum-insertions-to-balance-a-parentheses-string 49.7%
2656 2588 count-the-number-of-beautiful-subarrays 49.6%
198 198 house-robber Java 📝 49.5%
299 299 bulls-and-cows 📝 49.5%
2179 2070 most-beautiful-item-for-each-query 49.5%
1952 1824 minimum-sideway-jumps 49.4%
2318 2212 maximum-points-in-an-archery-competition 49.4%
2478 2401 longest-nice-subarray 49.4%
2685 2661 first-completely-painted-row-or-column 49.4%
1792 1673 find-the-most-competitive-subsequence 📝 49.3%
2085 1968 array-with-elements-not-equal-to-average-of-neighbors 49.3%
2736 2645 minimum-additions-to-make-valid-string 49.3%
1104 1034 coloring-a-border 49.2%
2146 2018 check-if-word-can-be-placed-in-crossword 49.2%
1230 1131 maximum-of-absolute-value-expression 49.1%
142 142 linked-list-cycle-ii 📝 49.0%
1558 1462 course-schedule-iv 49.0%
2205 2100 find-good-days-to-rob-the-bank 49.0%
2228 2105 watering-plants-ii 49.0%
2464 2380 time-needed-to-rearrange-a-binary-string 49.0%
153 153 find-minimum-in-rotated-sorted-array Java 📝 48.9%
1002 962 maximum-width-ramp 📝 48.9%
1303 2139 minimum-moves-to-reach-target-score 48.9%
2038 1926 nearest-exit-from-entrance-in-maze 📝 48.9%
1321 1208 get-equal-substrings-within-budget 48.8%
1325 1514 path-with-maximum-probability 📝 48.8%
2161 2034 stock-price-fluctuation 📝 48.8%
773 558 logical-or-of-two-binary-grids-represented-as-quad-trees 48.7%
1840 1722 minimize-hamming-distance-after-swap-operations 48.7%
1967 1839 longest-substring-of-all-vowels-in-order 48.7%
2546 2447 number-of-subarrays-with-gcd-equal-to-k 48.7%
210 210 course-schedule-ii 📝 48.6%
1928 1801 number-of-orders-in-the-backlog 48.6%
2089 1975 maximum-matrix-sum 48.6%
951 915 partition-array-into-disjoint-intervals 📝 48.5%
1229 1129 shortest-path-with-alternating-colors 📝 48.5%
1657 1535 find-the-winner-of-an-array-game 48.5%
1885 1759 count-number-of-homogenous-substrings 48.5%
2217 2096 step-by-step-directions-from-a-binary-tree-node-to-another 48.5%
2220 2115 find-all-possible-recipes-from-given-supplies 48.5%
2625 2536 increment-submatrices-by-one 48.5%
128 128 longest-consecutive-sequence Java 📝 48.4%
376 376 wiggle-subsequence 📝 48.4%
1549 1438 longest-continuous-subarray-with-absolute-diff-less-than-or-equal-to-limit 48.4%
2043 1914 cyclically-rotating-a-grid 48.4%
2595 2507 smallest-value-after-replacing-with-sum-of-prime-factors 48.4%
769 764 largest-plus-sign 📝 48.3%
905 873 length-of-longest-fibonacci-subsequence 📝 48.3%
1762 1642 furthest-building-you-can-reach 📝 48.3%
2237 2131 longest-palindrome-by-concatenating-two-letter-words 📝 48.3%
649 649 dota2-senate 📝 48.2%
2055 1943 describe-the-painting 48.2%
2339 2261 k-divisible-elements-subarrays 48.2%
1663 1559 detect-cycles-in-2d-grid 48.1%
2503 2419 longest-subarray-with-maximum-bitwise-and 48.1%
2564 2467 most-profitable-path-in-a-tree 48.1%
2626 2537 count-the-number-of-good-subarrays 48.1%
74 74 search-a-2d-matrix Java 📝 47.9%
437 437 path-sum-iii 📝 47.9%
670 670 maximum-swap 📝 47.8%
1465 1339 maximum-product-of-splitted-binary-tree 📝 47.8%
2183 2059 minimum-operations-to-convert-number 47.8%
2706 2567 minimum-score-by-changing-two-elements 47.8%
2414 2337 move-pieces-to-obtain-a-string 47.7%
93 93 restore-ip-addresses 📝 47.6%
879 849 maximize-distance-to-closest-person Java 📝 47.6%
2175 2049 count-nodes-with-the-highest-score 47.6%
858 831 masking-personal-information 📝 47.5%
1649 1546 maximum-number-of-non-overlapping-subarrays-with-sum-equals-target 47.4%
738 738 monotone-increasing-digits 📝 47.3%
1507 1391 check-if-there-is-a-valid-path-in-a-grid 47.3%
1900 1774 closest-dessert-cost 47.3%
2530 2439 minimize-maximum-of-array 📝 47.3%
1020 978 longest-turbulent-subarray 📝 47.2%
1247 1144 decrease-elements-to-make-array-zigzag 47.2%
2174 2048 next-greater-numerically-balanced-number 47.2%
187 187 repeated-dna-sequences 📝 47.1%
1990 1878 get-biggest-three-rhombus-sums-in-a-grid 47.1%
375 375 guess-number-higher-or-lower-ii 📝 47.0%
2138 2012 sum-of-beauty-in-the-array 47.0%
2348 2266 count-number-of-texts 47.0%
1355 2216 minimum-deletions-to-make-array-beautiful 46.9%
2646 2583 kth-largest-sum-in-a-binary-tree 46.9%
474 474 ones-and-zeroes 📝 46.8%
525 525 contiguous-array Java 📝 46.8%
658 658 find-k-closest-elements 📝 46.8%
1064 1015 smallest-integer-divisible-by-k 📝 46.8%
2483 2365 task-scheduler-ii 46.8%
388 388 longest-absolute-file-path 46.7%
1087 1027 longest-arithmetic-subsequence 📝 46.7%
1709 1604 alert-using-same-key-card-three-or-more-times-in-a-one-hour-period 46.6%
2262 2140 solving-questions-with-brainpower 📝 46.6%
2511 2522 partition-string-into-substrings-with-values-at-most-k 46.6%
2039 1927 sum-game 46.5%
2455 2374 node-with-highest-edge-score 46.5%
1658 1536 minimum-swaps-to-arrange-a-binary-grid 46.4%
2603 2512 reward-top-k-students 46.4%
852 825 friends-of-appropriate-ages 📝 46.3%
903 470 implement-rand10-using-rand7 📝 46.3%
1103 1033 moving-stones-until-consecutive 46.3%
2129 2001 number-of-pairs-of-interchangeable-rectangles 46.3%
56 56 merge-intervals Java 📝 46.2%
264 264 ugly-number-ii Java 📝 46.2%
416 416 partition-equal-subset-sum 📝 46.2%
827 809 expressive-words 📝 46.2%
1804 1702 maximum-binary-string-after-change 46.2%
1818 1717 maximum-score-from-removing-substrings 46.2%
1880 1754 largest-merge-of-two-strings 46.2%
134 134 gas-station 📝 46.1%
912 528 random-pick-with-weight Java 📝 46.1%
2438 2359 find-closest-node-to-given-two-nodes 📝 46.1%
2488 2406 divide-intervals-into-minimum-number-of-groups 46.1%
82 82 remove-duplicates-from-sorted-list-ii 📝 46.0%
150 150 evaluate-reverse-polish-notation 📝 46.0%
162 162 find-peak-element Java 📝 46.0%
390 390 elimination-game 46.0%
1436 1311 get-watched-videos-by-your-friends 46.0%
1814 1696 jump-game-vi 📝 46.0%
713 713 subarray-product-less-than-k 📝 45.9%
842 822 card-flipping-game 📝 45.9%
1140 1054 distant-barcodes 45.9%
2541 2443 sum-of-number-and-its-reverse 45.8%
16 16 3sum-closest Java 📝 45.7%
494 494 target-sum 📝 45.7%
1333 2191 sort-the-jumbled-numbers 45.7%
1962 1834 single-threaded-cpu 📝 45.7%
139 139 word-break 📝 45.6%
2358 2270 number-of-ways-to-split-array 45.6%
2620 2526 find-consecutive-integers-from-a-data-stream 45.6%
313 313 super-ugly-number 45.5%
2044 1915 number-of-wonderful-substrings 45.5%
2080 1958 check-if-move-is-legal 45.5%
2310 2208 minimum-operations-to-halve-array-sum 45.5%
92 92 reverse-linked-list-ii 📝 45.4%
207 207 course-schedule Java 📝 45.4%
1636 1513 number-of-substrings-with-only-1s 45.4%
2434 2349 design-a-number-container-system 45.4%
229 229 majority-element-ii Java 📝 45.3%
959 923 3sum-with-multiplicity 📝 45.3%
2164 2054 two-best-non-overlapping-events 45.3%
54 54 spiral-matrix Java 📝 45.2%
223 223 rectangle-area 📝 45.2%
316 316 remove-duplicate-letters 📝 45.2%
209 209 minimum-size-subarray-sum Java 📝 45.1%
221 221 maximal-square Java 📝 45.1%
393 393 utf-8-validation 📝 45.1%
878 848 shifting-letters 📝 45.1%
945 909 snakes-and-ladders 📝 45.1%
6 6 zigzag-conversion Java 📝 45.0%
1261 1156 swap-for-longest-repeated-character-substring 45.0%
1621 1498 number-of-subsequences-that-satisfy-the-given-sum-condition 📝 45.0%
2408 2327 number-of-people-aware-of-a-secret 45.0%
542 542 01-matrix 📝 44.9%
853 826 most-profit-assigning-work 📝 44.9%
395 395 longest-substring-with-at-least-k-repeating-characters 📝 44.8%
1171 1091 shortest-path-in-binary-matrix 📝 44.8%
2155 2028 find-missing-observations 44.8%
2191 2086 minimum-number-of-food-buckets-to-feed-the-hamsters 44.8%
2006 1894 find-the-student-that-will-replace-the-chalk 44.7%
2033 1904 the-number-of-full-rounds-you-have-played 44.7%
331 331 verify-preorder-serialization-of-a-binary-tree 📝 44.6%
2165 2055 plates-between-candles 44.6%
735 735 asteroid-collision 📝 44.5%
1379 1253 reconstruct-a-2-row-binary-matrix 44.5%
2113 1985 find-the-kth-largest-integer-in-the-array 44.5%
567 567 permutation-in-string Java 📝 44.3%
576 576 out-of-boundary-paths 📝 44.3%
1690 1567 maximum-length-of-subarray-with-positive-product 44.1%
1850 1750 minimum-length-of-string-after-deleting-similar-ends 44.1%
211 211 design-add-and-search-words-data-structure 📝 44.0%
1501 1401 circle-and-rectangle-overlapping 44.0%
2104 1993 operations-on-tree 44.0%
593 593 valid-square 📝 43.9%
1470 1348 tweet-counts-per-frequency 43.9%
2123 1996 the-number-of-weak-characters-in-the-game 📝 43.9%
1484 1367 linked-list-in-binary-tree 43.8%
2034 1906 minimum-absolute-difference-queries 43.8%
2665 2594 minimum-time-to-repair-cars 43.8%
940 904 fruit-into-baskets 📝 43.7%
1010 970 powerful-integers 📝 43.7%
1232 1300 sum-of-mutated-array-closest-to-target 43.7%
1721 1599 maximum-profit-of-operating-a-centennial-wheel 43.7%
2145 2017 grid-game 43.7%
2240 2121 intervals-between-identical-elements 43.7%
2543 2456 most-popular-video-creator 43.7%
560 560 subarray-sum-equals-k Java 📝 43.6%
826 808 soup-servings 📝 43.6%
2118 2008 maximum-earnings-from-taxi 43.6%
2616 2530 maximal-score-after-applying-k-operations 43.6%
640 640 solve-the-equation 📝 43.4%
885 855 exam-room 📝 43.4%
1183 1093 statistics-from-a-large-sample 43.3%
790 775 global-and-local-inversions 📝 43.2%
1026 984 string-without-aaa-or-bbb 📝 43.2%
1267 1171 remove-zero-sum-consecutive-nodes-from-linked-list 43.2%
1631 1524 number-of-sub-arrays-with-odd-sum 43.2%
2342 2256 minimum-average-difference 📝 43.1%
673 673 number-of-longest-increasing-subsequence 📝 43.0%
954 918 maximum-sum-circular-subarray Java 📝 43.0%
1684 1562 find-latest-group-of-size-m 42.9%
2066 1936 add-minimum-number-of-rungs 42.9%
2725 2611 mice-and-cheese 42.9%
1994 1864 minimum-number-of-swaps-to-make-the-binary-string-alternating 42.8%
334 334 increasing-triplet-subsequence 📝 42.7%
662 662 maximum-width-of-binary-tree Java 📝 42.7%
755 754 reach-a-number 📝 42.7%
2211 2090 k-radius-subarray-averages 📝 42.7%
2256 2135 count-words-obtained-after-adding-a-letter 42.7%
1911 1785 minimum-elements-to-add-to-form-a-given-sum 42.6%
2509 2429 minimize-xor 42.6%
201 201 bitwise-and-of-numbers-range Java 📝 42.5%
227 227 basic-calculator-ii 📝 42.5%
2317 2211 count-collisions-on-a-road 42.4%
172 172 factorial-trailing-zeroes 📝 42.3%
1725 1621 number-of-sets-of-k-non-overlapping-line-segments 42.3%
2081 1959 minimum-total-space-wasted-with-k-resizing-operations 42.3%
2206 2101 detonate-the-maximum-bombs 42.3%
322 322 coin-change 📝 42.2%
1925 1814 count-nice-pairs-in-an-array 42.1%
2290 2171 removing-minimum-number-of-magic-beans 42.1%
2562 2466 count-ways-to-build-good-strings 📝 42.1%
34 34 find-first-and-last-position-of-element-in-sorted-array Java 📝 42.0%
1834 1733 minimum-number-of-people-to-teach 41.9%
2498 2411 smallest-subarrays-with-maximum-bitwise-or 41.7%
368 368 largest-divisible-subset 📝 41.6%
1288 1186 maximum-subarray-sum-with-one-deletion 41.5%
2250 2146 k-highest-ranked-items-within-a-price-range 41.5%
795 779 k-th-symbol-in-grammar 📝 41.4%
1529 1432 max-difference-you-can-get-from-changing-an-integer 41.4%
2422 2343 query-kth-smallest-trimmed-number 41.4%
19 19 remove-nth-node-from-end-of-list 📝 41.3%
532 532 k-diff-pairs-in-an-array Java 📝 41.3%
396 396 rotate-function 41.2%
1284 1390 four-divisors 41.2%
2027 1898 maximum-number-of-removable-characters 41.2%
2392 2300 successful-pairs-of-spells-and-potions 📝 41.2%
213 213 house-robber-ii 📝 41.1%
1487 1386 cinema-seat-allocation 41.0%
2329 2233 maximum-product-after-k-increments 41.0%
2448 2364 count-number-of-bad-pairs 41.0%
1575 1465 maximum-area-of-a-piece-of-cake-after-horizontal-and-vertical-cuts 📝 40.9%
2054 1942 the-number-of-the-smallest-unoccupied-chair 40.8%
2567 2476 closest-nodes-queries-in-a-binary-search-tree 40.8%
146 146 lru-cache Java 📝 40.7%
307 307 range-sum-query-mutable 📝 40.7%
71 71 simplify-path 📝 40.6%
522 522 longest-uncommon-subsequence-ii 📝 40.6%
2117 2007 find-original-array-from-doubled-array 📝 40.6%
2397 2320 count-number-of-ways-to-place-houses 40.6%
2632 2546 apply-bitwise-operations-to-make-strings-equal 40.6%
2 2 add-two-numbers 📝 40.5%
687 687 longest-univalue-path 📝 40.5%
2690 2560 house-robber-iv 40.4%
79 79 word-search Java 📝 40.3%
2050 1922 count-good-numbers 40.3%
473 473 matchsticks-to-square 📝 40.2%
875 845 longest-mountain-in-array 📝 40.2%
1699 1577 number-of-ways-where-square-of-number-is-equal-to-product-of-two-numbers 40.2%
2443 2369 check-if-there-is-a-valid-partition-for-the-array 40.2%
913 519 random-flip-matrix 📝 40.1%
2266 2162 minimum-cost-to-set-cooking-time 40.1%
45 45 jump-game-ii Java 📝 39.9%
698 698 partition-to-k-equal-sum-subsets 📝 39.8%
1275 1361 validate-binary-tree-nodes 39.7%
2655 2587 rearrange-array-to-maximize-prefix-score 39.7%
915 478 generate-random-point-in-a-circle 📝 39.6%
63 63 unique-paths-ii Java 📝 39.5%
189 189 rotate-array Java 📝 39.5%
1966 1838 frequency-of-the-most-frequent-element 39.5%
2012 1882 process-tasks-using-servers 39.5%
914 497 random-point-in-non-overlapping-rectangles 📝 39.4%
2084 1953 maximum-number-of-weeks-for-which-you-can-work 39.4%
2586 2501 longest-square-streak-in-an-array 39.4%
43 43 multiply-strings 📝 39.2%
2294 2187 minimum-time-to-complete-trips 📝 39.2%
33 33 search-in-rotated-sorted-array Java 📝 39.1%
57 57 insert-interval Java 📝 39.1%
906 874 walking-robot-simulation 📝 39.1%
991 954 array-of-doubled-pairs 📝 39.1%
1912 1786 number-of-restricted-paths-from-first-to-last-node 39.1%
2661 2598 smallest-missing-non-negative-integer-after-operations 39.1%
994 957 prison-cells-after-n-days Java 📝 39.0%
1620 1497 check-if-array-pairs-are-divisible-by-k 39.0%
2352 2241 design-an-atm-machine 39.0%
55 55 jump-game Java 📝 38.9%
2017 1888 minimum-number-of-flips-to-make-the-binary-string-alternating 38.9%
2529 2438 range-product-queries-of-powers 38.9%
2000 1870 minimum-speed-to-arrive-on-time 38.8%
467 467 unique-substrings-in-wraparound-string 38.7%
1793 1674 minimum-moves-to-make-array-complementary 38.7%
310 310 minimum-height-trees 📝 38.6%
870 840 magic-squares-in-grid Java 📝 38.6%
1294 2080 range-frequency-queries 38.6%
2636 2542 maximum-subsequence-score 📝 38.5%
274 274 h-index 📝 38.4%
872 842 split-array-into-fibonacci-sequence 📝 38.4%
2520 2434 using-a-robot-to-print-the-lexicographically-smallest-string 38.4%
373 373 find-k-pairs-with-smallest-sums 📝 38.3%
722 722 remove-comments 📝 38.3%
2557 2470 number-of-subarrays-with-lcm-equal-to-k 38.3%
2590 2497 maximum-star-sum-of-a-graph 38.3%
1281 1177 can-make-palindrome-from-substring 38.1%
1824 1705 maximum-number-of-eaten-apples 📝 38.0%
365 365 water-and-jug-problem 37.9%
1985 1856 maximum-subarray-min-product 37.9%
2548 2453 destroy-sequential-targets 37.8%
31 31 next-permutation Java 📝 37.7%
1726 1620 coordinate-with-maximum-network-quality 37.7%
2712 2576 find-the-maximum-number-of-marked-indices 37.7%
275 275 h-index-ii 📝 37.6%
1776 1658 minimum-operations-to-reduce-x-to-zero 📝 37.6%
2444 2370 longest-ideal-subsequence 37.6%
2504 2420 find-all-good-indices 37.6%
97 97 interleaving-string 📝 37.4%
355 355 design-twitter 37.4%
2049 1921 eliminate-maximum-number-of-monsters 37.4%
2553 2462 total-cost-to-hire-k-workers 📝 37.4%
934 898 bitwise-ors-of-subarrays 📝 37.3%
1679 1574 shortest-subarray-to-be-removed-to-make-array-sorted 37.3%
1695 1589 maximum-sum-obtained-of-any-permutation 37.3%
1351 1234 replace-the-substring-for-balanced-string 37.2%
2011 1881 maximum-value-after-insertion 37.2%
803 787 cheapest-flights-within-k-stops 📝 37.1%
1249 1146 snapshot-array 37.1%
385 385 mini-parser 37.0%
2249 2145 count-the-hidden-sequences 37.0%
2395 2311 longest-binary-subsequence-less-than-or-equal-to-k 37.0%
2610 2523 closest-prime-numbers-in-range 37.0%
130 130 surrounded-regions 📝 36.9%
2544 2457 minimum-addition-to-make-integer-beautiful 36.9%
793 777 swap-adjacent-in-lr-string 📝 36.8%
1335 2226 maximum-candies-allocated-to-k-children 36.8%
2716 2601 prime-subtraction-operation 36.8%
1573 1477 find-two-non-overlapping-sub-arrays-each-with-target-sum 36.7%
475 475 heaters 36.6%
2124 1997 first-day-where-you-have-been-in-all-the-rooms 36.5%
581 581 shortest-unsorted-continuous-subarray Java 📝 36.4%
1148 1073 adding-two-negabinary-numbers 36.3%
372 372 super-pow 36.2%
867 837 new-21-game 📝 36.2%
1611 1487 making-file-names-unique 36.2%
61 61 rotate-list 📝 36.1%
2067 1937 maximum-number-of-points-with-cost 📝 36.0%
18 18 4sum Java 📝 35.9%
165 165 compare-version-numbers 📝 35.8%
81 81 search-in-rotated-sorted-array-ii Java 📝 35.7%
943 907 sum-of-subarray-minimums 📝 35.7%
1859 1737 change-minimum-characters-to-satisfy-one-of-three-conditions 35.4%
2465 2381 shifting-letters-ii 35.4%
946 910 smallest-range-ii 📝 35.3%
397 397 integer-replacement 35.2%
2363 2245 maximum-trailing-zeros-in-a-cornered-path 35.2%
986 949 largest-time-for-given-digits 📝 35.1%
810 794 valid-tic-tac-toe-state 📝 35.0%
2651 2580 count-ways-to-group-overlapping-ranges 35.0%
2753 2654 minimum-number-of-operations-to-make-all-array-elements-equal-to-1 35.0%
152 152 maximum-product-subarray Java 📝 34.9%
2077 1946 largest-number-after-mutating-substring 34.9%
2718 2602 minimum-operations-to-make-all-array-elements-equal 34.8%
179 179 largest-number 📝 34.7%
992 955 delete-columns-to-make-sorted-ii 📝 34.7%
1219 1124 longest-well-performing-interval 34.6%
2429 2353 design-a-food-rating-system 34.6%
2552 2461 maximum-sum-of-distinct-subarrays-with-length-k 34.4%
633 633 sum-of-square-numbers 📝 34.3%
2100 1969 minimum-non-zero-product-of-the-array-elements 34.3%
400 400 nth-digit 34.2%
686 686 repeated-string-match Java 📝 34.2%
678 678 valid-parenthesis-string Java 📝 34.1%
2333 2250 count-number-of-rectangles-containing-each-point 34.1%
556 556 next-greater-element-iii 📝 34.0%
1375 2217 find-palindrome-with-fixed-length 33.9%
2599 2516 take-k-of-each-character-from-left-and-right 33.9%
3 3 longest-substring-without-repeating-characters 📝 33.8%
2700 2564 substring-xor-queries 33.6%
1647 1540 can-convert-string-in-k-moves 33.5%
324 324 wiggle-sort-ii 33.4%
1976 1849 splitting-a-string-into-descending-consecutive-values 33.4%
2309 2207 maximize-number-of-subsequences-in-a-string 33.4%
50 50 powx-n 📝 33.1%
151 151 reverse-words-in-a-string 📝 33.1%
204 204 count-primes Java 📝 33.1%
1716 1594 maximum-non-negative-product-in-a-matrix 33.1%
1872 1744 can-you-eat-your-favorite-candy-on-your-favorite-day 33.1%
1923 1813 sentence-similarity-iii 33.1%
2289 2170 minimum-operations-to-make-the-array-alternating 33.1%
2477 2400 number-of-ways-to-reach-a-position-after-exactly-k-steps 33.1%
2359 2271 maximum-white-tiles-covered-by-a-carpet 33.0%
2114 1986 minimum-number-of-work-sessions-to-finish-the-tasks 32.9%
91 91 decode-ways 📝 32.8%
15 15 3sum Java 📝 32.7%
457 457 circular-array-loop 32.7%
1831 1712 ways-to-split-array-into-three-subarrays 📝 32.7%
2670 2607 make-k-subarray-sums-equal 32.6%
1478 1353 maximum-number-of-events-that-can-be-attended 32.5%
1678 1573 number-of-ways-to-split-a-string 32.5%
5 5 longest-palindromic-substring 📝 32.4%
456 456 132-pattern 📝 32.4%
1929 1802 maximum-value-at-a-given-index-in-a-bounded-array 📝 32.4%
2108 1981 minimize-the-difference-between-target-and-chosen-elements 32.4%
2686 2662 minimum-cost-of-a-path-with-special-roads 32.2%
2699 2563 count-the-number-of-fair-pairs 32.2%
98 98 validate-binary-search-tree 📝 32.0%
2285 2166 design-bitset 31.7%
2475 2384 largest-palindromic-number 31.4%
2713 2575 find-the-divisibility-array-of-a-string 31.3%
1272 1169 invalid-transactions Java 31.2%
1739 1616 split-two-strings-to-make-palindrome 31.2%
306 306 additive-number 31.1%
2604 2541 minimum-operations-to-make-array-equal-ii 31.0%
2221 2116 check-if-a-parentheses-string-can-be-valid 30.9%
2673 2555 maximize-win-from-two-segments 30.9%
402 402 remove-k-digits Java 📝 30.6%
2090 1976 number-of-ways-to-arrive-at-destination 30.6%
1946 1818 minimum-absolute-sum-difference 30.5%
2751 2653 sliding-subarray-beauty 30.5%
1771 1648 sell-diminishing-valued-colored-balls 30.4%
2720 2616 minimize-the-maximum-difference-of-pairs 30.1%
464 464 can-i-win 29.7%
2721 2615 sum-of-distances 29.4%
1830 1711 count-good-meals 29.3%
1757 1654 minimum-jumps-to-reach-home 29.2%
2696 2597 the-number-of-beautiful-subsets 29.2%
1307 1201 ugly-number-iii 28.9%
523 523 continuous-subarray-sum 📝 28.5%
916 880 decoded-string-at-index 📝 28.3%
2641 2556 disconnect-path-in-a-binary-matrix-by-at-most-one-flip 28.2%
2373 2288 apply-discount-to-prices 28.1%
1694 1590 make-sum-divisible-by-p 27.9%
838 707 design-linked-list 📝 27.7%
7 7 reverse-integer Java 📝 27.5%
2156 2029 stone-game-ix 26.7%
468 468 validate-ip-address 📝 26.6%
2680 2550 count-collisions-of-monkeys-on-a-polygon 26.6%
1612 1488 avoid-flood-in-the-city 26.5%
2628 2513 minimize-the-maximum-of-two-arrays 26.5%
1334 2310 sum-of-numbers-with-units-digit-k 25.8%
897 866 prime-palindrome 📝 25.7%
2615 2531 make-number-of-distinct-characters-equal 25.6%
2418 2333 minimum-sum-of-squared-difference 25.4%
2778 2671 frequency-tracker 25.3%
2305 2195 append-k-integers-with-minimal-sum 25.0%
2001 1871 jump-game-vii 24.9%
2367 2280 minimum-lines-to-represent-a-line-chart 24.6%
166 166 fraction-to-recurring-decimal 📝 24.4%
665 665 non-decreasing-array Java 📝 24.3%
2417 2332 the-latest-time-to-catch-a-bus 23.8%
1299 1191 k-concatenation-maximum-sum 23.7%
2178 2069 walking-robot-simulation-ii 23.6%
1346 2202 maximize-the-topmost-element-after-k-moves 22.8%
2374 2289 steps-to-make-array-non-decreasing 20.9%
2709 2572 count-the-number-of-square-free-subsets 20.9%
29 29 divide-two-integers 📝 17.1%
8 8 string-to-integer-atoi 📝 16.6%
1022 980 unique-paths-iii 📝 81.7%
1503 1402 reducing-dishes 📝 76.8%
1093 1028 recover-a-tree-from-preorder-traversal 73.2%
2257 2136 earliest-possible-day-of-full-bloom 📝 73.1%
1381 1255 maximum-score-words-formed-by-letters 72.3%
1409 1284 minimum-number-of-flips-to-convert-binary-matrix-to-zero-matrix 📝 71.9%
52 52 n-queens-ii 📝 71.7%
732 732 my-calendar-iii 📝 71.6%
1145 1074 number-of-submatrices-that-sum-to-target 📝 69.5%
1559 1463 cherry-pickup-ii 📝 69.5%
1437 1312 minimum-insertion-steps-to-make-a-string-palindrome 📝 69.0%
1305 1944 number-of-visible-people-in-a-queue 68.9%
1633 1526 minimum-number-of-increments-on-subarrays-to-form-a-target-array 68.9%
2435 2350 shortest-impossible-sequence-of-rolls 68.0%
931 895 maximum-frequency-stack 📝 66.6%
935 899 orderly-queue 📝 66.2%
1740 1617 count-subtrees-with-max-distance-between-cities 65.8%
2207 2102 sequentially-ordinal-rank-tracker 65.6%
1701 1579 remove-max-number-of-edges-to-keep-graph-fully-traversable 📝 65.5%
51 51 n-queens 📝 64.4%
787 773 sliding-puzzle 📝 64.1%
1555 1444 number-of-ways-of-cutting-a-pizza 📝 63.8%
1188 1096 brace-expansion-ii 63.5%
2539 2449 minimum-number-of-operations-to-make-arrays-similar 63.4%
1732 1611 minimum-one-bit-operations-to-make-integers-zero 63.3%
1815 1697 checking-existence-of-edge-length-limited-paths 📝 63.1%
2193 2088 count-fertile-pyramids-in-a-land 63.0%
1535 1420 build-array-where-you-can-find-the-maximum-exactly-k-comparisons 62.9%
973 936 stamping-the-sequence 📝 62.8%
458 458 poor-pigs 📝 62.6%
1527 1411 number-of-ways-to-paint-n-3-grid 62.6%
1461 1359 count-all-valid-pickup-and-delivery-options 📝 62.4%
1466 1340 jump-game-v 62.3%
2527 2444 count-subarrays-with-fixed-bounds 📝 61.9%
1393 2218 maximum-value-of-k-coins-from-piles 📝 61.8%
1485 1368 minimum-cost-to-make-at-least-one-valid-path-in-a-grid 61.6%
1550 1439 find-the-kth-smallest-sum-of-a-matrix-with-sorted-rows 61.5%
1583 1473 paint-house-iii 📝 61.5%
632 632 smallest-range-covering-elements-from-k-lists 📝 61.1%
877 847 shortest-path-visiting-all-nodes 📝 60.8%
1403 1278 palindrome-partitioning-iii 60.8%
1337 1206 design-skiplist 60.5%
1963 1835 find-xor-sum-of-all-pairs-bitwise-and 60.5%
1577 1467 probability-of-a-two-boxes-having-the-same-number-of-distinct-balls 60.4%
763 761 special-binary-string 📝 60.3%
1332 1220 count-vowels-permutation 📝 60.1%
1617 1510 stone-game-iv 📝 60.1%
794 778 swim-in-rising-water 📝 59.8%
352 352 data-stream-as-disjoint-intervals 📝 59.7%
1424 1298 maximum-candies-you-can-get-from-boxes 59.7%
2472 2392 build-a-matrix-with-conditions 59.5%
1443 1320 minimum-distance-to-type-a-word-using-two-fingers 59.4%
1522 1406 stone-game-iii 📝 59.4%
42 42 trapping-rain-water Java 📝 59.3%
2648 2585 number-of-ways-to-earn-points 59.2%
863 834 sum-of-distances-in-tree 📝 59.1%
1251 1147 longest-chunked-palindrome-decomposition 59.1%
2176 2050 parallel-courses-iii 59.1%
1372 1250 check-if-it-is-a-good-array 58.9%
2096 1964 find-the-longest-valid-obstacle-course-at-each-position 📝 58.9%
1696 1591 strange-printer-ii 58.6%
1197 1106 parsing-a-boolean-expression 58.4%
1224 1289 minimum-falling-path-sum-ii 58.4%
1457 1335 minimum-difficulty-of-a-job-schedule 📝 58.4%
1170 1092 shortest-common-supersequence 58.0%
37 37 sudoku-solver 📝 57.9%
939 903 valid-permutations-for-di-sequence 📝 57.6%
1024 982 triples-with-bitwise-and-equal-to-zero 57.5%
2505 2421 number-of-good-paths 📝 57.3%
1000 960 delete-columns-to-make-sorted-iii 📝 57.2%
1851 1751 maximum-number-of-events-that-can-be-attended-ii 57.2%
2061 1931 painting-a-grid-with-three-different-colors 57.2%
312 312 burst-balloons 📝 57.1%
1669 1547 minimum-cost-to-cut-a-stick 📝 56.9%
1680 1575 count-all-possible-routes 📝 56.8%
2189 2065 maximum-path-quality-of-a-graph 56.8%
2597 2509 cycle-length-queries-in-a-tree 56.7%
2678 2642 design-graph-with-shortest-path-calculator 56.7%
770 765 couples-holding-hands 📝 56.6%
2423 2344 minimum-deletions-to-make-array-divisible 56.6%
1784 1665 minimum-initial-energy-to-finish-tasks 56.4%
2340 2262 total-appeal-of-a-string 56.4%
2079 1948 delete-duplicate-folders-in-system 56.2%
828 810 chalkboard-xor-game 📝 56.1%
2404 2318 number-of-distinct-roll-sequences 56.1%
754 753 cracking-the-safe 📝 55.9%
1348 2321 maximum-score-of-spliced-array 55.8%
1996 1866 number-of-ways-to-rearrange-sticks-with-k-sticks-visible 55.8%
1571 1478 allocate-mailboxes 55.6%
2364 2246 longest-path-with-different-adjacent-characters 📝 55.6%
297 297 serialize-and-deserialize-binary-tree 📝 55.5%
2140 2014 longest-subsequence-repeated-k-times 55.4%
781 770 basic-calculator-iv 📝 55.3%
25 25 reverse-nodes-in-k-group 📝 54.9%
2166 2056 number-of-valid-move-combinations-on-chessboard 54.9%
1034 992 subarrays-with-k-different-integers 📝 54.7%
1300 1192 critical-connections-in-a-network 📝 54.7%
1367 1691 maximum-height-by-stacking-cuboids 54.7%
72 72 edit-distance Java 📝 54.5%
1794 1675 minimize-deviation-in-array 📝 54.5%
869 839 similar-string-groups 📝 54.4%
1361 1240 tiling-a-rectangle-with-the-fewest-squares 54.0%
1744 1639 number-of-ways-to-form-a-target-string-given-a-dictionary 📝 54.0%
880 850 rectangle-area-ii 📝 53.9%
2008 1896 minimum-cost-to-change-the-final-value-of-expression 53.9%
2531 2440 create-components-with-same-value 53.8%
1918 1793 maximum-score-of-a-good-subarray 53.6%
410 410 split-array-largest-sum 📝 53.5%
1902 1776 car-fleet-ii 53.5%
1352 1235 maximum-profit-in-job-scheduling 📝 53.4%
2198 2076 process-restricted-friend-requests 53.2%
779 768 max-chunks-to-make-sorted-ii 📝 52.8%
2002 1872 stone-game-viii 52.6%
329 329 longest-increasing-path-in-a-matrix 📝 52.5%
2681 2551 put-marbles-in-bags 📝 52.5%
1613 1489 find-critical-and-pseudo-critical-edges-in-minimum-spanning-tree 52.4%
2394 2302 count-subarrays-with-score-less-than-k 52.3%
726 726 number-of-atoms 📝 52.2%
887 857 minimum-cost-to-hire-k-workers 📝 52.2%
1986 1857 largest-color-value-in-a-directed-graph 📝 52.2%
587 587 erect-the-fence 📝 52.1%
2642 2532 time-to-cross-a-bridge 52.1%
1861 1739 building-boxes 52.0%
2115 1987 number-of-unique-good-subsequences 51.9%
736 736 parse-lisp-expression 📝 51.6%
855 828 count-unique-characters-of-all-substrings-of-a-given-string 📝 51.6%
1097 1032 stream-of-characters 📝 51.6%
798 782 transform-to-chessboard 📝 51.5%
295 295 find-median-from-data-stream 📝 51.4%
668 668 kth-smallest-number-in-multiplication-table 📝 51.4%
1356 2193 minimum-number-of-moves-to-make-palindrome 51.2%
1037 995 minimum-number-of-k-consecutive-bit-flips 📝 51.1%
1309 1203 sort-items-by-groups-respecting-dependencies 51.1%
1723 1601 maximum-number-of-achievable-transfer-requests 51.1%
2334 2251 number-of-flowers-in-full-bloom 51.1%
2086 1955 count-number-of-special-subsequences 51.0%
750 749 contain-virus 📝 50.9%
956 920 number-of-music-playlists 📝 50.7%
2400 2322 minimum-score-after-removals-on-a-tree 50.7%
2439 2360 longest-cycle-in-a-graph 📝 50.7%
2028 1900 the-earliest-and-latest-rounds-where-players-compete 50.6%
814 798 smallest-rotation-with-highest-score 📝 50.4%
1489 1388 pizza-with-3n-slices 50.4%
23 23 merge-k-sorted-lists 📝 50.0%
918 882 reachable-nodes-in-subdivided-graph 📝 50.0%
1836 1735 count-ways-to-make-array-with-product 50.0%
472 472 concatenated-words 📝 49.9%
502 502 ipo 📝 49.8%
2375 2290 minimum-obstacle-removal-to-reach-corner 49.8%
1244 1316 distinct-echo-substrings 49.6%
911 879 profitable-schemes 📝 49.5%
2101 1970 last-day-where-you-can-still-cross 📝 49.5%
1637 1531 string-compression-ii 📝 49.4%
1322 1210 minimum-moves-to-reach-target-with-rotations 49.3%
1471 1349 maximum-students-taking-exam 49.3%
679 679 24-game 📝 49.2%
1038 996 number-of-squareful-arrays 📝 49.2%
1313 1916 count-ways-to-build-rooms-in-an-ant-colony 49.2%
2272 2151 maximum-good-people-based-on-statements 49.2%
1389 1263 minimum-moves-to-move-a-box-to-their-target-location 49.0%
689 689 maximum-sum-of-3-non-overlapping-subarrays 📝 48.9%
1517 1416 restore-the-array 📝 48.9%
1941 1830 minimum-number-of-operations-to-make-string-sorted 48.9%
1376 2312 selling-pieces-of-wood 48.8%
2652 2581 count-number-of-possible-root-nodes 48.7%
1343 1223 dice-roll-simulation 48.6%
1832 1713 minimum-operations-to-make-a-subsequence 48.5%
1499 1383 maximum-performance-of-a-team 📝 48.4%
1977 1851 minimum-interval-to-include-each-query 48.3%
2291 2172 maximum-and-sum-of-array 48.3%
1004 964 least-operators-to-express-number 📝 47.9%
2109 1982 find-array-given-subset-sums 47.8%
1545 1449 form-largest-integer-with-digits-that-add-up-to-target 47.7%
1692 1569 number-of-ways-to-reorder-array-to-get-same-bst 47.7%
2409 2328 number-of-increasing-paths-in-a-grid 📝 47.7%
2466 2382 maximum-segment-sum-after-removals 47.7%
407 407 trapping-rain-water-ii 47.6%
1286 1425 constrained-subsequence-sum 47.6%
546 546 remove-boxes 📝 47.5%
1707 1585 check-if-string-is-transformable-with-substring-sort-operations 47.5%
2267 2163 minimum-difference-in-sums-after-removal-of-elements 47.5%
1451 1326 minimum-number-of-taps-to-open-to-water-a-garden 47.4%
301 301 remove-invalid-parentheses 📝 47.2%
489 1643 kth-smallest-instructions 47.1%
2390 2306 naming-a-company 📝 47.1%
1220 1125 smallest-sufficient-team 47.0%
514 514 freedom-trail 46.9%
664 664 strange-printer 📝 46.9%
1447 1345 jump-game-iv 📝 46.9%
1717 1595 minimum-cost-to-connect-two-groups-of-points 46.9%
1569 1458 max-dot-product-of-two-subsequences 46.8%
1907 1803 count-pairs-with-xor-in-a-range 46.8%
446 446 arithmetic-slices-ii-subsequence 📝 46.6%
1008 968 binary-tree-cameras 📝 46.6%
691 691 stickers-to-spell-word 📝 46.4%
1223 1627 graph-connectivity-with-threshold 46.4%
1906 1799 maximize-score-after-n-operations 📝 46.4%
239 239 sliding-window-maximum 📝 46.3%
1282 1178 number-of-valid-words-for-each-puzzle 📝 46.3%
1691 1568 minimum-number-of-days-to-disconnect-island 46.3%
2430 2354 number-of-excellent-pairs 45.9%
123 123 best-time-to-buy-and-sell-stock-iii Java 📝 45.6%
833 815 bus-routes 📝 45.6%
895 864 shortest-path-to-get-all-keys 📝 45.5%
1290 1187 make-array-strictly-increasing 45.5%
1622 1499 max-value-of-equation 45.5%
1989 1879 minimum-xor-sum-of-two-arrays 45.5%
2119 2009 minimum-number-of-operations-to-make-array-continuous 45.5%
140 140 word-break-ii 📝 45.4%
2125 1998 gcd-sort-of-an-array 45.4%
1414 1293 shortest-path-in-a-grid-with-obstacles-elimination 📝 45.3%
1029 987 vertical-order-traversal-of-a-binary-tree 📝 45.2%
1871 1745 palindrome-partitioning-iv 45.2%
1826 1707 maximum-xor-with-an-element-from-array 45.1%
85 85 maximal-rectangle Java 📝 44.9%
854 827 making-a-large-island 📝 44.9%
2563 2468 split-message-based-on-limit 44.9%
2131 2003 smallest-missing-genetic-value-in-each-subtree 44.8%
699 699 falling-squares 📝 44.7%
1508 1392 longest-happy-prefix 44.7%
115 115 distinct-subsequences 📝 44.6%
715 715 range-module 📝 44.6%
60 60 permutation-sequence 📝 44.5%
730 730 count-different-palindromic-subsequences 📝 44.5%
980 943 find-the-shortest-superstring 📝 44.3%
363 363 max-sum-of-rectangle-no-larger-than-k 📝 44.0%
2494 2416 sum-of-prefix-scores-of-strings 43.9%
759 757 set-intersection-size-at-least-two 📝 43.8%
977 940 distinct-subsequences-ii 📝 43.8%
154 154 find-minimum-in-rotated-sorted-array-ii Java 📝 43.5%
164 164 maximum-gap 📝 43.5%
1398 1269 number-of-ways-to-stay-in-the-same-place-after-some-steps 43.5%
1820 1719 number-of-ways-to-reconstruct-a-tree 43.5%
1531 1434 number-of-ways-to-wear-different-hats-to-each-other 43.4%
1645 1521 find-a-value-of-a-mysterious-function-closest-to-target 43.4%
836 818 race-car 📝 43.3%
2513 2426 number-of-pairs-satisfying-inequality 43.3%
809 793 preimage-size-of-factorial-zeroes-function 📝 43.2%
1012 972 equal-rational-numbers 📝 43.2%
403 403 frog-jump 📝 43.1%
460 460 lfu-cache 📝 43.1%
1710 1606 find-servers-that-handled-most-number-of-requests 📝 43.1%
2592 2499 minimum-total-cost-to-make-arrays-unequal 43.0%
2574 2488 count-subarrays-with-median-k 42.9%
964 928 minimize-malware-spread-ii 📝 42.8%
1805 1703 minimum-adjacent-swaps-for-k-consecutive-ones 42.8%
84 84 largest-rectangle-in-histogram Java 📝 42.7%
629 629 k-inverse-pairs-array 📝 42.6%
224 224 basic-calculator 📝 42.5%
315 315 count-of-smaller-numbers-after-self 📝 42.5%
1825 1723 find-minimum-time-to-finish-all-jobs 42.4%
1042 1000 minimum-cost-to-merge-stones 42.3%
1766 1671 minimum-number-of-removals-to-make-mountain-array 42.3%
1513 1397 find-all-good-strings 42.2%
960 924 minimize-malware-spread 📝 42.1%
2635 2543 check-if-point-is-reachable 42.1%
218 218 the-skyline-problem 📝 41.9%
2202 2081 sum-of-k-mirror-numbers 41.9%
1262 1157 online-majority-element-in-subarray 41.8%
2521 2435 paths-in-matrix-whose-sum-is-divisible-by-k 41.8%
856 829 consecutive-numbers-sum 📝 41.6%
1668 1542 find-longest-awesome-substring 41.6%
1887 1761 minimum-degree-of-a-connected-trio-in-a-graph 41.6%
2295 2188 minimum-time-to-finish-the-race 41.6%
938 902 numbers-at-most-n-given-digit-set 📝 41.5%
552 552 student-attendance-record-ii 📝 41.4%
332 332 reconstruct-itinerary 📝 41.3%
873 843 guess-the-word 41.3%
2201 2097 valid-arrangement-of-pairs 41.3%
2419 2334 subarray-with-elements-greater-than-varying-threshold 41.3%
746 745 prefix-and-suffix-search 📝 41.2%
135 135 candy 📝 41.1%
2389 2296 design-a-text-editor 41.0%
76 76 minimum-window-substring 📝 40.9%
480 480 sliding-window-median 📝 40.9%
1257 1632 rank-transform-of-a-matrix 📝 40.9%
2450 2366 minimum-replacements-to-sort-the-array 40.9%
2286 2167 minimum-time-to-remove-all-cars-containing-illegal-goods 40.8%
2554 2463 minimum-total-distance-traveled 40.6%
330 330 patching-array 📝 40.4%
517 517 super-washing-machines 📝 40.4%
1255 1330 reverse-subarray-to-maximize-array-value 40.4%
2184 2060 check-if-an-original-string-exists-given-two-encoded-strings 40.4%
1685 1563 stone-game-v 40.3%
2739 2646 minimize-the-total-price-of-the-trips 40.3%
630 630 course-schedule-iii 📝 40.2%
884 854 k-similar-strings 📝 40.0%
989 952 largest-component-size-by-common-factor 📝 40.0%
1924 1815 maximum-number-of-groups-getting-fresh-donuts 40.0%
902 871 minimum-number-of-refueling-stops 📝 39.8%
993 956 tallest-billboard 📝 39.8%
1057 1012 numbers-with-repeated-digits 39.8%
1875 1766 tree-of-coprimes 39.7%
2068 1938 maximum-genetic-difference-query 39.7%
963 927 three-equal-parts 📝 39.6%
1475 1373 maximum-sum-bst-in-binary-tree 39.6%
2023 1912 design-movie-rental-system 39.6%
1913 1787 make-the-xor-of-all-segments-equal-to-zero 39.5%
2251 2147 number-of-ways-to-divide-a-long-corridor 39.5%
2499 2412 minimum-money-required-before-transactions 39.5%
819 801 minimum-swaps-to-make-sequences-increasing 📝 39.4%
1758 1655 distribute-repeating-integers 39.4%
2393 2301 match-substring-after-replacement 39.4%
1433 2227 encrypt-and-decrypt-strings 39.3%
1659 1537 get-the-maximum-score 39.3%
1727 1728 cat-and-mouse-ii 39.3%
2171 2045 second-minimum-time-to-reach-destination 📝 39.3%
124 124 binary-tree-maximum-path-sum Java 📝 39.2%
282 282 expression-add-operators 📝 39.2%
600 600 non-negative-integers-without-consecutive-ones 📝 39.2%
2263 2141 maximum-running-time-of-n-computers 📝 39.2%
188 188 best-time-to-buy-and-sell-stock-iv 📝 39.1%
2549 2454 next-greater-element-iv 39.1%
87 87 scramble-string 📝 39.0%
1947 1819 number-of-different-subsequences-gcds 39.0%
942 906 super-palindromes 📝 38.9%
1017 975 odd-even-jump 📝 38.9%
1778 1659 maximize-grid-happiness 38.9%
483 483 smallest-good-base 38.8%
2633 2547 minimum-cost-to-split-an-array 38.8%
1234 1301 number-of-paths-with-max-score 38.7%
2280 2179 count-good-triplets-in-an-array 38.6%
2307 2197 replace-non-coprime-numbers-in-array 38.6%
2157 2030 smallest-k-length-subsequence-with-occurrences-of-a-letter 38.5%
1629 1505 minimum-possible-integer-after-at-most-k-adjacent-swaps-on-digits 38.4%
1789 1687 delivering-boxes-from-storage-to-ports 38.4%
1891 1782 count-pairs-of-nodes 38.4%
2241 2122 recover-the-original-array 38.4%
1644 1520 maximum-number-of-non-overlapping-substrings 38.2%
2559 2472 maximum-number-of-non-overlapping-palindrome-substrings 38.2%
2462 2386 find-the-k-sum-of-an-array 38.1%
1799 1681 minimum-incompatibility 38.0%
2671 2608 shortest-cycle-in-a-graph 38.0%
354 354 russian-doll-envelopes 📝 37.9%
2013 1883 minimum-skips-to-arrive-at-meeting-on-time 37.9%
2349 2267 check-if-there-is-a-valid-parentheses-string-path 37.9%
2353 2242 maximum-score-of-a-node-sequence 37.9%
2040 1928 minimum-cost-to-reach-destination-in-time 37.8%
1896 1770 maximum-score-from-performing-multiplication-operations 📝 37.7%
2687 2663 lexicographically-smallest-beautiful-string 37.7%
2717 2603 collect-coins-in-a-tree 37.7%
2234 2111 minimum-operations-to-make-the-array-k-increasing 37.6%
68 68 text-justification 37.5%
174 174 dungeon-game 📝 37.5%
1772 1649 create-sorted-array-through-instructions 📝 37.5%
2326 2223 sum-of-scores-of-built-strings 37.5%
2545 2458 height-of-binary-tree-after-subtree-removal-queries 37.4%
1733 1610 maximum-number-of-visible-points 37.3%
127 127 word-ladder 📝 37.2%
591 591 tag-validator 📝 37.2%
1638 1515 best-position-for-a-service-centre 37.2%
2657 2589 minimum-time-to-complete-all-tasks 37.2%
2588 2503 maximum-number-of-points-from-grid-queries 37.0%
1344 1224 maximum-equal-frequency 36.9%
2583 2493 divide-nodes-into-the-maximum-number-of-groups 36.9%
41 41 first-missing-positive Java 📝 36.8%
1563 1453 maximum-number-of-darts-inside-of-a-circular-dartboard 36.8%
2360 2272 substring-with-largest-variance 36.8%
719 719 find-k-th-smallest-pair-distance 📝 36.7%
927 891 sum-of-subsequence-widths 📝 36.7%
1881 1755 closest-subsequence-sum 36.7%
432 432 all-oone-data-structure 36.6%
4 4 median-of-two-sorted-arrays Java 36.4%
212 212 word-search-ii 📝 36.4%
2457 2376 count-special-integers 36.4%
1479 1354 construct-target-array-with-multiple-sums 📝 36.3%
741 741 cherry-pickup 📝 36.2%
1043 1001 grid-illumination 36.2%
2321 2203 minimum-weighted-subgraph-with-the-required-paths 36.0%
327 327 count-of-range-sum 35.8%
1493 1377 frog-position-after-t-seconds 35.7%
1953 1825 finding-mk-average 35.7%
1957 1847 closest-room 35.7%
1968 1840 maximum-building-height 35.6%
2060 1932 merge-bsts-to-create-single-bst 35.6%
381 381 insert-delete-getrandom-o1-duplicates-allowed Java 📝 35.5%
910 878 nth-magical-number 📝 35.3%
1185 1095 find-in-mountain-array 35.3%
1897 1771 maximize-palindrome-length-from-subsequences 35.2%
2229 2106 maximum-fruits-harvested-after-at-most-k-steps 35.1%
336 336 palindrome-pairs 📝 35.0%
2105 1994 the-number-of-good-subsets 34.9%
2246 2127 maximum-employees-to-be-invited-to-a-meeting 34.9%
2344 2258 escape-the-spreading-fire 34.9%
2708 2573 find-the-string-with-lcp 34.9%
2711 2577 minimum-time-to-visit-a-cell-in-a-grid 34.9%
949 913 cat-and-mouse 📝 34.8%
1133 1163 last-substring-in-lexicographical-order 34.8%
1676 1553 minimum-number-of-days-to-eat-n-oranges 34.8%
2538 2448 minimum-cost-to-make-array-equal 📝 34.8%
2627 2538 difference-between-maximum-and-minimum-price-sum 34.8%
2357 2276 count-integers-in-intervals 34.5%
821 803 bricks-falling-when-hit 📝 34.4%
2311 2209 minimum-white-tiles-after-covering-with-carpets 34.4%
1106 1036 escape-a-large-maze 34.2%
2213 2092 find-all-people-with-secret 34.2%
2689 2561 rearranging-fruits 34.2%
675 675 cut-off-trees-for-golf-event 📝 34.1%
685 685 redundant-connection-ii 📝 34.1%
1429 1307 verbal-arithmetic-puzzle 34.1%
233 233 number-of-digit-one 📝 34.0%
132 132 palindrome-partitioning-ii 📝 33.8%
488 488 zuma-game 33.8%
2605 2514 count-anagrams 33.8%
1296 1483 kth-ancestor-of-a-tree-node 33.7%
2180 2071 maximum-number-of-tasks-you-can-assign 33.6%
894 710 random-pick-with-blacklist 📝 33.5%
2479 2402 meeting-rooms-iii 33.4%
1277 1363 largest-multiple-of-three 33.2%
2449 2398 maximum-number-of-robots-within-budget 33.1%
2577 2484 count-palindromic-subsequences 33.1%
1270 1172 dinner-plate-stacks 33.0%
2147 2019 the-score-of-students-solving-math-expression 33.0%
32 32 longest-valid-parentheses 📝 32.9%
391 391 perfect-rectangle 32.9%
2135 2025 maximum-number-of-ways-to-partition-an-array 32.8%
796 780 reaching-points 📝 32.7%
2601 2518 number-of-great-partitions 32.7%
214 214 shortest-palindrome 📝 32.4%
2596 2508 add-edges-to-make-degrees-of-all-nodes-even 32.2%
479 479 largest-palindrome-product 32.1%
2510 2430 maximum-deletions-on-a-string 32.0%
2618 2528 maximize-the-minimum-powered-city 32.0%
2701 2565 subsequence-with-the-minimum-score 31.9%
1936 1808 maximize-number-of-nice-divisors 31.8%
2200 2132 stamping-the-grid 31.6%
30 30 substring-with-concatenation-of-all-words 📝 31.3%
2018 1889 minimum-space-wasted-from-packaging 31.3%
440 440 k-th-smallest-in-lexicographical-order 31.2%
2319 2213 longest-substring-of-one-repeating-character 30.9%
2682 2552 count-increasing-quadruplets 30.9%
493 493 reverse-pairs 📝 30.8%
1122 1044 longest-duplicate-substring 📝 30.6%
639 639 decode-ways-ii 📝 30.4%
1587 1494 parallel-courses-ii 30.3%
2569 2478 number-of-beautiful-partitions 30.3%
273 273 integer-to-english-words Java 📝 30.0%
1336 1960 maximum-product-of-the-length-of-two-palindromic-substrings 29.7%
335 335 self-crossing 29.5%
466 466 count-the-repetitions 📝 29.5%
321 321 create-maximum-number 29.1%
2150 2040 kth-smallest-product-of-two-sorted-arrays 28.7%
2330 2234 maximum-total-beauty-of-the-gardens 28.6%
2697 2617 minimum-number-of-visited-cells-in-a-grid 28.6%
2301 2183 count-array-pairs-divisible-by-k 28.3%
1326 1862 sum-of-floored-pairs 28.2%
10 10 regular-expression-matching 📝 28.0%
2051 1923 longest-common-subpath 27.6%
126 126 word-ladder-ii Java 📝 27.5%
2368 2281 sum-of-total-strength-of-wizards 📝 27.3%
923 887 super-egg-drop 📝 27.1%
44 44 wildcard-matching 📝 27.0%
2222 2117 abbreviating-the-product-of-a-range 27.0%
2703 2569 handling-sum-queries-after-update 26.9%
2415 2338 count-the-number-of-ideal-arrays 26.3%
892 862 shortest-subarray-with-sum-at-least-k 📝 26.0%
823 805 split-array-with-same-average 📝 25.7%
2276 2157 groups-of-strings 25.5%
149 149 max-points-on-a-line 📝 25.2%
2275 2156 find-substring-with-given-hash-value 22.4%
220 220 contains-duplicate-iii 📝 22.2%
2647 2584 split-the-array-to-make-coprime-products 22.2%
2526 2407 longest-increasing-subsequence-ii 22.0%
564 564 find-the-closest-palindrome 📝 21.9%
2091 1977 number-of-ways-to-separate-numbers 20.5%
2765 2659 make-array-empty 20.2%
2162 2035 partition-array-into-two-arrays-to-minimize-sum-difference 18.9%
65 65 valid-number Java 📝 18.7%
1728 1622 fancy-sequence 16.2%
2380 2286 booking-concert-tickets-in-groups 15.6%
2726 2612 minimum-reverse-operations 14.6%
420 420 strong-password-checker 13.8%