Directories ¶ Show internal Expand all Path Synopsis cli problems 1.two-sum command 100.same-tree command 1002.find-common-characters command 101.symmetric-tree command 104.maximum-depth-of-binary-tree command 1051.height-checker command 111.minimum-depth-of-binary-tree command 1115.print-foobar-alternately command 112.path-sum command 1137.n-th-tribonacci-number command 118.pascals-triangle command 125.valid-palindrome command 128.longest-consecutive-sequence command 1282.group-the-people-given-the-group-size-they-belong-to command 1290.convert-binary-number-in-a-linked-list-to-integer command 1310.xor-queries-of-a-subarray command 1323.maximum-69-number command 1331.rank-transform-of-an-array command 136.single-number command 1367.linked-list-in-binary-tree command 1381.design-a-stack-with-increment-operation command 14.longest-common-prefix command 1422.maximum-score-after-splitting-a-string command 145.binary-tree-postorder-traversal command 1455.check-if-a-word-occurs-as-a-prefix-of-any-word-in-a-sentence command 1475.final-prices-with-a-special-discount-in-a-shop command 1518.water-bottles command 1550.three-consecutive-odds command 165.compare-version-numbers command 1684.count-the-number-of-consistent-strings command 1780.check-if-number-is-a-sum-of-powers-of-three command 1865.finding-pairs-with-a-certain-sum command 1894.find-the-student-that-will-replace-the-chalk command 190.reverse-bits command 1920.build-array-from-permutation command 1945.sum-of-digits-of-string-after-convert command 1957.delete-characters-to-make-fancy-string command 1971.find-if-path-exists-in-graphs command 1992.find-all-groups-of-farmland.go command 2.add-two-numbers command 20.valid-parentheses command 200.number-of-islands command 2000.reverse-prefix-of-word command 2053.kth-distinct-string-in-an-array command 208.implement-trie-prefix-tree command 21.merge-two-sorted-lists command 2109.adding-spaces-to-a-string command 2131.longest-palindrome-by-concatenating-two-letter-words command 2138.divide-a-string-into-groups-of-size-k command 215.kth-largest-element-in-an-array command 2185.counting-words-with-a-given-prefix command 2206.divide-array-into-equal-pairs command 2220.minimum-bit-flips-to-convert-number command 226.invert-binary-tree command 2264.largest-3-same-digit-number-in-string command 2270.number-of-ways-to-split-array command 2294.partition-array-such-that-maximum-difference-is-k command 23.merge-k-sorted-lists command 2326.spiral-matrix-iv command 2337.move-pieces-to-obtain-a-string command 2348.number-of-zero-filled-subarrays command 2353.design-a-food-rating-system command 2401.longest-nice-subarray command 2416.sum-of-prefix-scores-of-strings command 2419.longest-subarray-with-maximum-bitwise-and command 2441.largest-positive-integer-that-exists-with-its-negative command 2486.append-characters-to-string-to-make-subsequence command 2490.circular-sentence command 2554.maximum-number-of-integers-to-choose-from-a-range-i command 2559.count-vowel-strings-in-ranges command 2579.count-total-number-of-colored-cells command 2582.pass-the-pillow command 2583.kth-largest-sum-in-a-binary-tree command 260.single-number-iii command 2678.number-of-senior-citizens command 27.remove-element command 273.integer-to-english-words command 2807.insert-greatest-common-divisors-in-linked-list command 2816.double-a-number-represented-as-a-linked-list command 2825.make-string-a-subsequence-using-cyclic-increments command 2843.count-symmetric-integers command 2894.divisible-and-non-divisible-sums-difference command 2914.minimum-number-of-changes-to-make-binary-string-beautiful command 2942.find-words-containing-character command 2965.find-missing-and-repeated-values command 2966.divide-array-into-arrays-with-max-difference command 3.longest-substring-without-repeating-chars command 3005.count-elements-with-maximum-frequency command 3016.minimum-number-of-pushes-to-type-word-ii command 3024.type-of-triangle command 3043.find-the-length-of-the-longest-common-prefix command 3075.maximize-happiness-of-selected-children command 3105.longest-strictly-increasing-or-strictly-decreasing-subarray command 3136.valid-word command 3151.special-array-i command 3163.string-compression-iii command 3217.delete-nodes-from-linked-list-present-in-array command 3243.shortest-distance-after-road-addition-queries-i command 3264.final-array-state-after-k-multiplication-operations-i command 3304.find-the-k-th-character-in-string-game-i command 3330.find-the-original-typed-string-i command 34.find-first-and-last-position-of-element-in-sorted-array command 3408.design-task-manager command 3423.maximum-difference-between-adjacent-elements-in-a-circular-array command 3477.fruits-into-baskets-ii command 3484.design-spreadsheet command 350.intersection-of-two-arrays-ii command 3516.find-closest-person command 386.lexicographical-numbers command 4.median-of-two-sorted-arrays command 404.sum-of-left-leaves command 409.longest-palindrome command 412.fizz-buzz command 45.jump-game-ii command 463.island-perimeter command 49.group-anagrams command 494.target-sum command 5.longest-palindromic-substring command 506.relative-ranks command 515.find-largest-value-in-each-tree-row command 523.continuous-subarray-sum command 54.spiral-matrix command 55.jump-game command 59.spiral-matrix-ii command 590.n-ary-tree-postorder-traversal command 6.zigzag-conversion command 624.maximum-distance-in-arrays command 633.sum-of-square-numbers command 641.design-circular-deque command 648.replace-words command 650.2-keys-keyboard command 66.plus-one command 7.reverse-integer command 703.kth-largest-element-in-a-stream command 725.split-linked-list-in-parts command 75.sort-colors command 752.open-the-lock command 786.k-th-smallest-prime-fraction command 796.rotate-string command 8.string-to-integer-atoi command 802.find-eventual-safe-states command 826.most-profit-assigning-work command 83.remove-duplicates-from-sorted-list command 846.hand-of-straights command 860.lemonade-change command 874.walking-robot-simulation command 884.uncommon-words-from-two-sentences command 9.palindrome-number command 916.word-subsets command utils Click to show internal directories. Click to hide internal directories.