Directories ¶ Show internal Expand all Path Synopsis datastructure array queue sort leetcode 01guess-numbers command 0utils/tree 1002find-common-characters command 101symmetric-tree command 10fei-bo-na-qi-shu-lie-lcof command 10qing-wa-tiao-tai-jie-wen-ti-lcof command 1108defanging-an-ip-address command 110balanced-binary-tree command 111minimum-depth-of-binary-tree command 112path-sum command 1137n-th-tribonacci-number command 114flatten-binary-tree-to-linked-list command 1189maximum-number-of-balloons command 11container-with-most-water command 1207unique-number-of-occurrences command 125valid-palindrome command 1281subtract-the-product-and-sum-of-digits-of-an-integer command 128longest-consecutive-sequence command 1295find-numbers-with-even-number-of-digits command 1313decompress-run-length-encoded-list command 1342number-of-steps-to-reduce-a-number-to-zero command 136single-number command 137single-number-ii command 138copy-list-with-random-pointer command 139word-break command 13roman-to-integer command 141linked-list-cycle command 144binary-tree-preorder-traversal command 145binary-tree-postorder-traversal command 146lru-cache command 147insertion-sort-list command 14longest-common-prefix command 150evaluate-reverse-polish-notation command 151reverse-words-in-a-string command 152maximum-product-subarray command 155min-stack command 15three-sum command 16.11diving-board-lcci command 16.25lru-cache-lcci command 160intersection-of-two-linked-lists command 167two-sum-ii-input-array-is-sorted command 169majority-element command 16sub-sort-lcci command 16three-sum-closest command 179largest-number command 17letter-combinations-of-a-phone-number command 189rotate-array command 18four-sum command 198house-robber command 19remove-nth-node-from-end-of-list command 1two-sum command 200number-of-islands command 203remove-linked-list-elements command 206reverse-linked-list command 20valid-parentheses command 21merge-two-sorted-lists command 226invert-binary-tree command 230kth-smallest-element-in-a-bst command 234palindrome-linked-list command 235lowest-common-ancestor-of-a-binary-search-tree command 237delete-node-in-a-linked-list command 239sliding-window-maximum command 23merge-k-sorted-lists command 24fan-zhuan-lian-biao-lcof command 24swap-nodes-in-pairs command 25reverse-nodes-in-k-group command 26remove-duplicates-from-sorted-array command 27remove-element command 283move-zeroes command 287find-the-duplicate-number command 28dui-cheng-de-er-cha-shu-lcof command 29shun-shi-zhen-da-yin-ju-zhen-lcof command 2add-two-numbers command 300longest-increasing-subsequence command 30substring-with-concatenation-of-all-words command 31next-permutation command 33search-in-rotated-sorted-array command 344reverse-string command 347top-k-frequent-elements command 349intersection-of-two-arrays command 34find-first-and-last-position-of-element-in-sorted-array command 350intersection-of-two-arrays-ii command 35search-insert-position command 39combination-sum command 3longest-substring-without-repeating-characters command 409longest-palindrome command 40zui-xiao-de-kge-shu-lcof command 414third-maximum-number command 434number-of-segments-in-a-string command 438find-all-anagrams-in-a-string command 43multiply-strings command 442find-all-duplicates-in-an-array command 445add-two-numbers-ii command 448find-all-numbers-disappeared-in-an-array command 455assign-cookies command 468validate-ip-address command 46permutations command 47li-wu-de-zui-da-jie-zhi-lcof command 491increasing-subsequences command 496next-greater-element-i command 4median-of-two-sorted-arrays command 503next-greater-element-ii command 509fibonacci-number command 51shu-zu-zhong-de-ni-xu-dui-lcof command 530minimum-absolute-difference-in-bst command 532next-greater-element-ii command 53maximum-subarray command 543diameter-of-binary-tree command 54er-cha-sou-suo-shu-de-di-kda-jie-dian-lcof command 556next-greater-element-iii command 55er-cha-shu-de-shen-du-lcof command 56merge-intervals command 589n-ary-tree-preorder-traversal command 58length-of-last-word command 58zuo-xuan-zhuan-zi-fu-chuan-lcof command 599minimum-index-sum-of-two-lists command 59hua-dong-chuang-kou-de-zui-da-zhi-lcof command 5longest-palindromic-substring command 60permutation-sequence command 61rotate-list command 62yuan-quan-zhong-zui-hou-sheng-xia-de-shu-zi-lcof command 63gu-piao-de-zui-da-li-run-lcof command 645set-mismatch command 665non-decreasing-array command 66plus-one command 671second-minimum-node-in-a-binary-tree command 673number-of-longest-increasing-subsequence command 67add-binary command 67ba-zi-fu-chuan-zhuan-huan-cheng-zheng-shu-lcof command 68er-cha-sou-suo-shu-de-zui-jin-gong-gong-zu-xian-lcof command 69sqrtx command 6cong-wei-dao-tou-da-yin-lian-biao-lcof command 6zigzag-conversion command 70climbing-stairs command 76minimum-window-substring command 771jewels-and-stones command 783minimum-distance-between-bst-nodes command 784letter-case-permutation command 7reverse-integer command 804unique-morse-code-words command 80remove-duplicates-from-sorted-array-ii command 81search-in-rotated-sorted-array-ii command 82remove-duplicates-from-sorted-list-ii command 83remove-duplicates-from-sorted-list command 859buddy-strings command 88merge-sorted-array command 8string-to-integer-atoi command 92reverse-linked-list-ii command 938range-sum-of-bst command 94binary-tree-inorder-traversal command 977squares-of-a-sorted-array command 9palindrome-number command Click to show internal directories. Click to hide internal directories.