Documentation not displayed due to license restrictions. See our license policy. Directories ¶ Show internal Expand all Path Synopsis BFS 102_binary-tree-level-order-traversal command 103_binary-tree-zigzag-level-order-traversal command 107_inary-tree-level-order-traversal-ii command 111_minimum-depth-of-binary-tree command 429_n-ary-tree-level-order-traversal command 513_find-bottom-left-tree-value command 515_find-largest-value-in-each-tree-row command 752_open-the-lock command 773_sliding-puzzle command LCR044_hPov7L command LCR045_LwUNpT command LCR109_zlDJc7 command LCR149_cong-shang-dao-xia-da-yin-er-cha-shu-lcof command LCR150_cong-shang-dao-xia-da-yin-er-cha-shu-ii-lcof command LCR151_cong-shang-dao-xia-da-yin-er-cha-shu-iii-lcof command DFS 104_maximum-depth-of-binary-tree command 129_sum-root-to-leaf-numbers command 17_letter-combinations-of-a-phone-number command 22_generate-parentheses command 37_sudoku-solver command 39_combination-sum command 40_combination-sum-ii command 437_path-sum-iii command 46_permutations command 47_permutations-ii command 513_find-bottom-left-tree-value command 51_n-queens command 52_n-queens-ii command 698_partition-to-k-equal-sum-subsets command 77_combinations command 78_subsets command 90_subsets-ii command LCR045_LwUNpT command LCR049_3Etpl5 command LCR050_6eUYwP command LCR079_TVdhkn command LCR080_uUsW3B command LCR081_Ygoe9J command LCR082_4sjJUc command LCR083_VvJkup command LCR084_7p8L0Z command LCR085_IDBivT command island command island/1020_number-of-enclaves command island/1254_number-of-closed-islands command island/1905_count-sub-islands command island/200_number-of-islands command island/694_number-of-distinct-islands command island/695_max-area-of-island command island/LCR695_ZL6zAn command DP 10_regular-expression-matching command 1143_longest-common-subsequence command 115_distinct-subsequences command 120_triangle command 174_dungeon-game command 198_house-robber command 213_house-robber-ii command 256_paint-house command 264_ugly-number-ii command 300_longest-increasing-subsequence command 312_burst-balloons command 322_coin-change command 337_house-robber-iii command 338_counting-bits command 343_integer-break command 354_russian-doll-envelopes command 494_target-sum command 509_fibonacci-number command 53_maximum-subarray command 583_delete-operation-for-two-strings command 62_unique-paths command 63_unique-paths-ii command 647_palindromic-substrings command 64_minimum-path-sum command 70_climbing-stairs command 712_minimum-ascii-delete-sum-for-two-strings command 72_edit-distance command 746_min-cost-climbing-stairs command 887_super-egg-drop command 91_decode-ways command 931_minimum-falling-path-sum command 97_interleaving-string command LCR003_w3tCBm command LCR020_a7VOhD command LCR088_GzCJIP command LCR089_Gu0c2T command LCR090_PzWKhm command LCR091_JEj789 command LCR095_qJnOS7 command LCR097_21dk04 command LCR098_2AoeFn command LCR099_0i0mDW command LCR100_IlPe0q command LCR102_YaVDxD command LCR103_gaM7Ch command LCR126_fei-bo-na-qi-shu-lie-lcof command LCR127_qing-wa-tiao-tai-jie-wen-ti-lcof command LCR130_ji-qi-ren-de-yun-dong-fan-wei-lcof command LCR131_jian-sheng-zi-lcof command LCR137_zheng-ze-biao-da-shi-pi-pei-lcof command LCR161_lian-xu-zi-shu-zu-de-zui-da-he-lcof command LCR165_ba-shu-zi-fan-yi-cheng-zi-fu-chuan-lcof command LCR166_li-wu-de-zui-da-jie-zhi-lcof command LCR168_chou-shu-lcof command bag command bag/416_partition-equal-subset-sum command bag/518_coin-change-ii command stock/121_best-time-to-buy-and-sell-stock command stock/122_best-time-to-buy-and-sell-stock-ii command stock/123_best-time-to-buy-and-sell-stock-iii command stock/188_best-time-to-buy-and-sell-stock-iv command stock/309_best-time-to-buy-and-sell-stock-with-cooldown command stock/714_best-time-to-buy-and-sell-stock-with-transaction-fee command stock/LCR188_gu-piao-de-zui-da-li-run-lcof command graph 207_course-schedule command 210_course-schedule-ii command 785_is-graph-bipartite command 797_all-paths-from-source-to-target command 886_possible-bipartition command LCR106_vEAB3K command LCR110_bP4bmD command LCR113_QA2IGt command greedy 1024_video-stitching command 134_gas-station command 45_jump-game-ii command 55_jump-game command heap 215_kth-largest-element-in-an-array command 23_merge-k-sorted-lists command 295_find-median-from-data-stream command 703_kth-largest-element-in-a-stream command LCR059_jBjn9C command LCR160_shu-ju-liu-zhong-de-zhong-wei-shu-lcof command math 172_factorial-trailing-zeroes command 204_count-primes command 318_maximum-product-of-word-lengths command 380_insert-delete-getrandom-o1 command 382_linked-list-random-node command 398_random-pick-index command 645_set-mismatch command 67_add-binary command 710_random-pick-with-blacklist command LCR002_JFETK5 command LCR005_aseY1I command LCR030_FortPu command other 1276_number-of-burgers-with-no-waste-of-ingredients command 146_lru-cache command 162_find-peak-element command 187_repeated-dna-sequences command 241_different-ways-to-add-parentheses command 2660_determine-the-winner-of-a-bowling-game command 268_missing-number command 2828_check-if-a-string-is-an-acronym-of-words command 460_lfu-cache command LCR031_OrIXps command tree BST command BST/1038_binary-search-tree-to-greater-sum-tree command BST/108_convert-sorted-array-to-binary-search-tree command BST/109_convert-sorted-list-to-binary-search-tree command BST/1373_maximum-sum-bst-in-binary-tree command BST/230_kth-smallest-element-in-a-bst command BST/235_lowest-common-ancestor-of-a-binary-search-tree command BST/285_inorder-successor-in-bst command BST/501_find-mode-in-binary-search-tree command BST/530_minimum-absolute-difference-in-bst command BST/538_convert-bst-to-greater-tree command BST/700_search-in-a-binary-search-tree command BST/701_insert-into-a-binary-search-tree command BST/783_minimum-distance-between-bst-nodes command BST/897_increasing-order-search-tree command BST/95_unique-binary-search-trees-ii command BST/96_unique-binary-search-trees command BST/98_alidate-binary-search-tree command BST/99_recover-binary-search-tree command BST/LCR052_NYBBNL command BST/LCR053_P5rCT8 command BST/LCR054_w6cpku command BST/LCR174_er-cha-sou-suo-shu-de-di-kda-jie-dian-lcof command BST/LCR193_er-cha-sou-suo-shu-de-zui-jin-gong-gong-zu-xian-lcof command binary command binary/100_same-tree command binary/101_symmetric-tree command binary/102_binary-tree-level-order-traversal command binary/103_binary-tree-zigzag-level-order-traversal command binary/104_maximum-depth-of-binary-tree command binary/105_construct-binary-tree-from-preorder-and-inorder-traversal command binary/106_construct-binary-tree-from-inorder-and-postorder-traversal command binary/107_inary-tree-level-order-traversal-ii command binary/110_balanced-binary-tree command binary/111_minimum-depth-of-binary-tree command binary/112_path-sum command binary/113_path-sum-ii command binary/114_flatten-binary-tree-to-linked-list command binary/116_populating-next-right-pointers-in-each-node command binary/124_binary-tree-maximum-path-sum command binary/1373_maximum-sum-bst-in-binary-tree command binary/144_binary-tree-preorder-traversal command binary/145_binary-tree-postorder-traversal command binary/222_count-complete-tree-nodes command binary/226_invert-binary-tree command binary/236_lowest-common-ancestor-of-a-binary-tree command binary/2415_reverse-odd-levels-of-binary-tree command binary/297_serialize-and-deserialize-binary-tree/postorder command binary/297_serialize-and-deserialize-binary-tree/preorder command binary/297_serialize-and-deserialize-binary-tree/queue command binary/515_find-largest-value-in-each-tree-row command binary/543_diameter-of-binary-tree command binary/559_maximum-depth-of-n-ary-tree command binary/589_n-ary-tree-preorder-traversal command binary/590_n-ary-tree-postorder-traversal command binary/652_find-duplicate-subtrees command binary/654_maximum-binary-tree command binary/669_trim-a-binary-search-tree command binary/814_binary-tree-pruning command binary/889_construct-binary-tree-from-preorder-and-postorder-traversal command binary/94_binary-tree-inorder-traversal command binary/965_univalued-binary-tree command binary/LCR044_hPov7L command binary/LCR047_pOCWxh command binary/LCR048_h54YBf command binary/LCR051_jC7MId command binary/LCR124_zhong-jian-er-cha-shu-lcof command binary/LCR144_er-cha-shu-de-jing-xiang-lcof command binary/LCR145_dui-cheng-de-er-cha-shu-lcof command binary/LCR153_er-cha-shu-zhong-he-wei-mou-yi-zhi-de-lu-jing-lcof command binary/LCR175_er-cha-shu-de-shen-du-lcof command binary/LCR176_ping-heng-er-cha-shu-lcof command binary/LCR194_er-cha-shu-de-zui-jin-gong-gong-zu-xian-lcof command Click to show internal directories. Click to hide internal directories.