@@ -776,6 +776,7 @@ TypeScript-based LeetCode algorithm problem solutions, regularly updated.
776
776
777
777
| <!-- --> | <!-- --> | <!-- --> | <!-- --> | <!-- --> | <!-- -->
778
778
|-|-|-|-|-|-
779
+ | 0108 |[ Convert Sorted Array to Binary Search Tree] ( src/main/ts/g0101_0200/s0108_convert_sorted_array_to_binary_search_tree/solution.ts ) | Easy | Top_Interview_Questions, Array, Tree, Binary_Tree, Binary_Search_Tree, Divide_and_Conquer | 0 | 100.00
779
780
| 0230 |[ Kth Smallest Element in a BST] ( src/main/ts/g0201_0300/s0230_kth_smallest_element_in_a_bst/solution.ts ) | Medium | Top_100_Liked_Questions, Depth_First_Search, Tree, Binary_Tree, Binary_Search_Tree, Big_O_Time_O(n)_ Space_O(n) | 0 | 100.00
780
781
781
782
#### Day 10 Graph/BFS/DFS
@@ -945,6 +946,8 @@ TypeScript-based LeetCode algorithm problem solutions, regularly updated.
945
946
|-|-|-|-|-|-
946
947
| 0094 |[ Binary Tree Inorder Traversal] ( src/main/ts/g0001_0100/s0094_binary_tree_inorder_traversal/solution.ts ) | Easy | Top_100_Liked_Questions, Top_Interview_Questions, Depth_First_Search, Tree, Binary_Tree, Stack, Big_O_Time_O(n)_ Space_O(n) | 0 | 100.00
947
948
| 0102 |[ Binary Tree Level Order Traversal] ( src/main/ts/g0101_0200/s0102_binary_tree_level_order_traversal/solution.ts ) | Medium | Top_100_Liked_Questions, Top_Interview_Questions, Breadth_First_Search, Tree, Binary_Tree, Big_O_Time_O(N)_ Space_O(N) | 0 | 100.00
949
+ | 0103 |[ Binary Tree Zigzag Level Order Traversal] ( src/main/ts/g0101_0200/s0103_binary_tree_zigzag_level_order_traversal/solution.ts ) | Medium | Top_Interview_Questions, Breadth_First_Search, Tree, Binary_Tree | 0 | 100.00
950
+ | 0108 |[ Convert Sorted Array to Binary Search Tree] ( src/main/ts/g0101_0200/s0108_convert_sorted_array_to_binary_search_tree/solution.ts ) | Easy | Top_Interview_Questions, Array, Tree, Binary_Tree, Binary_Search_Tree, Divide_and_Conquer | 0 | 100.00
948
951
| 0543 |[ Diameter of Binary Tree] ( src/main/ts/g0501_0600/s0543_diameter_of_binary_tree/solution.ts ) | Easy | Top_100_Liked_Questions, Depth_First_Search, Tree, Binary_Tree, Big_O_Time_O(n)_ Space_O(n) | 1 | 87.16
949
952
| 0226 |[ Invert Binary Tree] ( src/main/ts/g0201_0300/s0226_invert_binary_tree/solution.ts ) | Easy | Top_100_Liked_Questions, Depth_First_Search, Breadth_First_Search, Tree, Binary_Tree, Big_O_Time_O(n)_ Space_O(n) | 0 | 100.00
950
953
| 0104 |[ Maximum Depth of Binary Tree] ( src/main/ts/g0101_0200/s0104_maximum_depth_of_binary_tree/solution.ts ) | Easy | Top_100_Liked_Questions, Top_Interview_Questions, Depth_First_Search, Breadth_First_Search, Tree, Binary_Tree, Big_O_Time_O(N)_ Space_O(H) | 0 | 100.00
@@ -1096,7 +1099,9 @@ TypeScript-based LeetCode algorithm problem solutions, regularly updated.
1096
1099
| 0226 |[ Invert Binary Tree] ( src/main/ts/g0201_0300/s0226_invert_binary_tree/solution.ts ) | Easy | Top_100_Liked_Questions, Depth_First_Search, Breadth_First_Search, Tree, Binary_Tree, Big_O_Time_O(n)_ Space_O(n) | 0 | 100.00
1097
1100
| 0101 |[ Symmetric Tree] ( src/main/ts/g0101_0200/s0101_symmetric_tree/solution.ts ) | Easy | Top_100_Liked_Questions, Top_Interview_Questions, Depth_First_Search, Breadth_First_Search, Tree, Binary_Tree, Big_O_Time_O(N)_ Space_O(log(N)) | 0 | 100.00
1098
1101
| 0105 |[ Construct Binary Tree from Preorder and Inorder Traversal] ( src/main/ts/g0101_0200/s0105_construct_binary_tree_from_preorder_and_inorder_traversal/solution.ts ) | Medium | Top_100_Liked_Questions, Top_Interview_Questions, Array, Hash_Table, Tree, Binary_Tree, Divide_and_Conquer, Big_O_Time_O(N)_ Space_O(N) | 2 | 93.38
1102
+ | 0106 |[ Construct Binary Tree from Inorder and Postorder Traversal] ( src/main/ts/g0101_0200/s0106_construct_binary_tree_from_inorder_and_postorder_traversal/solution.ts ) | Medium | Array, Hash_Table, Tree, Binary_Tree, Divide_and_Conquer | 1 | 98.78
1099
1103
| 0114 |[ Flatten Binary Tree to Linked List] ( src/main/ts/g0101_0200/s0114_flatten_binary_tree_to_linked_list/solution.ts ) | Medium | Top_100_Liked_Questions, Depth_First_Search, Tree, Binary_Tree, Stack, Linked_List, Big_O_Time_O(N)_ Space_O(N) | 0 | 100.00
1104
+ | 0112 |[ Path Sum] ( src/main/ts/g0101_0200/s0112_path_sum/solution.ts ) | Easy | Depth_First_Search, Breadth_First_Search, Tree, Binary_Tree | 0 | 100.00
1100
1105
| 0124 |[ Binary Tree Maximum Path Sum] ( src/main/ts/g0101_0200/s0124_binary_tree_maximum_path_sum/solution.ts ) | Hard | Top_100_Liked_Questions, Top_Interview_Questions, Dynamic_Programming, Depth_First_Search, Tree, Binary_Tree, Big_O_Time_O(N)_ Space_O(N) | 2 | 71.11
1101
1106
| 0236 |[ Lowest Common Ancestor of a Binary Tree] ( src/main/ts/g0201_0300/s0236_lowest_common_ancestor_of_a_binary_tree/solution.ts ) | Medium | Top_100_Liked_Questions, Depth_First_Search, Tree, Binary_Tree, Big_O_Time_O(n)_ Space_O(n) | 61 | 75.97
1102
1107
@@ -1105,6 +1110,7 @@ TypeScript-based LeetCode algorithm problem solutions, regularly updated.
1105
1110
| <!-- --> | <!-- --> | <!-- --> | <!-- --> | <!-- --> | <!-- -->
1106
1111
|-|-|-|-|-|-
1107
1112
| 0102 |[ Binary Tree Level Order Traversal] ( src/main/ts/g0101_0200/s0102_binary_tree_level_order_traversal/solution.ts ) | Medium | Top_100_Liked_Questions, Top_Interview_Questions, Breadth_First_Search, Tree, Binary_Tree, Big_O_Time_O(N)_ Space_O(N) | 0 | 100.00
1113
+ | 0103 |[ Binary Tree Zigzag Level Order Traversal] ( src/main/ts/g0101_0200/s0103_binary_tree_zigzag_level_order_traversal/solution.ts ) | Medium | Top_Interview_Questions, Breadth_First_Search, Tree, Binary_Tree | 0 | 100.00
1108
1114
1109
1115
#### Top Interview 150 Binary Search Tree
1110
1116
@@ -1147,6 +1153,7 @@ TypeScript-based LeetCode algorithm problem solutions, regularly updated.
1147
1153
1148
1154
| <!-- --> | <!-- --> | <!-- --> | <!-- --> | <!-- --> | <!-- -->
1149
1155
|-|-|-|-|-|-
1156
+ | 0108 |[ Convert Sorted Array to Binary Search Tree] ( src/main/ts/g0101_0200/s0108_convert_sorted_array_to_binary_search_tree/solution.ts ) | Easy | Top_Interview_Questions, Array, Tree, Binary_Tree, Binary_Search_Tree, Divide_and_Conquer | 0 | 100.00
1150
1157
| 0148 |[ Sort List] ( src/main/ts/g0101_0200/s0148_sort_list/solution.ts ) | Medium | Top_100_Liked_Questions, Top_Interview_Questions, Sorting, Two_Pointers, Linked_List, Divide_and_Conquer, Merge_Sort, Big_O_Time_O(log(N))_ Space_O(log(N)) | 36 | 44.94
1151
1158
| 0023 |[ Merge k Sorted Lists] ( src/main/ts/g0001_0100/s0023_merge_k_sorted_lists/solution.ts ) | Hard | Top_100_Liked_Questions, Top_Interview_Questions, Heap_Priority_Queue, Linked_List, Divide_and_Conquer, Merge_Sort, Big_O_Time_O(k\* n\* log(k))_ Space_O(log(k)) | 4 | 97.65
1152
1159
@@ -1207,6 +1214,7 @@ TypeScript-based LeetCode algorithm problem solutions, regularly updated.
1207
1214
| 0064 |[ Minimum Path Sum] ( src/main/ts/g0001_0100/s0064_minimum_path_sum/solution.ts ) | Medium | Top_100_Liked_Questions, Array, Dynamic_Programming, Matrix, Big_O_Time_O(m\* n)_ Space_O(m\* n) | 4 | 70.73
1208
1215
| 0063 |[ Unique Paths II] ( src/main/ts/g0001_0100/s0063_unique_paths_ii/solution.ts ) | Medium | Array, Dynamic_Programming, Matrix | 0 | 100.00
1209
1216
| 0005 |[ Longest Palindromic Substring] ( src/main/ts/g0001_0100/s0005_longest_palindromic_substring/solution.ts ) | Medium | Top_100_Liked_Questions, Top_Interview_Questions, String, Dynamic_Programming, Big_O_Time_O(n)_ Space_O(n) | 8 | 99.14
1217
+ | 0097 |[ Interleaving String] ( src/main/ts/g0001_0100/s0097_interleaving_string/solution.ts ) | Medium | String, Dynamic_Programming | 43 | 97.65
1210
1218
| 0072 |[ Edit Distance] ( src/main/ts/g0001_0100/s0072_edit_distance/solution.ts ) | Medium | Top_100_Liked_Questions, String, Dynamic_Programming, Big_O_Time_O(n^2)_ Space_O(n2) | 6 | 93.83
1211
1219
| 0221 |[ Maximal Square] ( src/main/ts/g0201_0300/s0221_maximal_square/solution.ts ) | Medium | Array, Dynamic_Programming, Matrix, Big_O_Time_O(m\* n)_ Space_O(m\* n) | 18 | 59.02
1212
1220
@@ -1286,6 +1294,7 @@ TypeScript-based LeetCode algorithm problem solutions, regularly updated.
1286
1294
| <!-- --> | <!-- --> | <!-- --> | <!-- --> | <!-- --> | <!-- -->
1287
1295
|-|-|-|-|-|-
1288
1296
| 0226 |[ Invert Binary Tree] ( src/main/ts/g0201_0300/s0226_invert_binary_tree/solution.ts ) | Easy | Top_100_Liked_Questions, Depth_First_Search, Breadth_First_Search, Tree, Binary_Tree, Big_O_Time_O(n)_ Space_O(n) | 0 | 100.00
1297
+ | 0112 |[ Path Sum] ( src/main/ts/g0101_0200/s0112_path_sum/solution.ts ) | Easy | Depth_First_Search, Breadth_First_Search, Tree, Binary_Tree | 0 | 100.00
1289
1298
1290
1299
#### Day 13 Tree
1291
1300
@@ -1393,7 +1402,9 @@ TypeScript-based LeetCode algorithm problem solutions, regularly updated.
1393
1402
1394
1403
| <!-- --> | <!-- --> | <!-- --> | <!-- --> | <!-- --> | <!-- -->
1395
1404
|-|-|-|-|-|-
1405
+ | 0108 |[ Convert Sorted Array to Binary Search Tree] ( src/main/ts/g0101_0200/s0108_convert_sorted_array_to_binary_search_tree/solution.ts ) | Easy | Top_Interview_Questions, Array, Tree, Binary_Tree, Binary_Search_Tree, Divide_and_Conquer | 0 | 100.00
1396
1406
| 0105 |[ Construct Binary Tree from Preorder and Inorder Traversal] ( src/main/ts/g0101_0200/s0105_construct_binary_tree_from_preorder_and_inorder_traversal/solution.ts ) | Medium | Top_100_Liked_Questions, Top_Interview_Questions, Array, Hash_Table, Tree, Binary_Tree, Divide_and_Conquer, Big_O_Time_O(N)_ Space_O(N) | 2 | 93.38
1407
+ | 0103 |[ Binary Tree Zigzag Level Order Traversal] ( src/main/ts/g0101_0200/s0103_binary_tree_zigzag_level_order_traversal/solution.ts ) | Medium | Top_Interview_Questions, Breadth_First_Search, Tree, Binary_Tree | 0 | 100.00
1397
1408
1398
1409
#### Day 16 Tree
1399
1410
@@ -1697,11 +1708,16 @@ TypeScript-based LeetCode algorithm problem solutions, regularly updated.
1697
1708
| 0124 |[ Binary Tree Maximum Path Sum] ( src/main/ts/g0101_0200/s0124_binary_tree_maximum_path_sum/solution.ts ) | Hard | Top_100_Liked_Questions, Top_Interview_Questions, Dynamic_Programming, Depth_First_Search, Tree, Binary_Tree, Udemy_Tree_Stack_Queue, Top_Interview_150_Binary_Tree_General, Big_O_Time_O(N)_ Space_O(N) | 2 | 71.11
1698
1709
| 0121 |[ Best Time to Buy and Sell Stock] ( src/main/ts/g0101_0200/s0121_best_time_to_buy_and_sell_stock/solution.ts ) | Easy | Top_100_Liked_Questions, Top_Interview_Questions, Array, Dynamic_Programming, Data_Structure_I_Day_3_Array, Dynamic_Programming_I_Day_7, Level_1_Day_5_Greedy, Udemy_Arrays, Top_Interview_150_Array/String, Big_O_Time_O(N)_ Space_O(1) | 1 | 96.44
1699
1710
| 0114 |[ Flatten Binary Tree to Linked List] ( src/main/ts/g0101_0200/s0114_flatten_binary_tree_to_linked_list/solution.ts ) | Medium | Top_100_Liked_Questions, Depth_First_Search, Tree, Binary_Tree, Stack, Linked_List, Udemy_Linked_List, Top_Interview_150_Binary_Tree_General, Big_O_Time_O(N)_ Space_O(N) | 0 | 100.00
1711
+ | 0112 |[ Path Sum] ( src/main/ts/g0101_0200/s0112_path_sum/solution.ts ) | Easy | Depth_First_Search, Breadth_First_Search, Tree, Binary_Tree, Data_Structure_I_Day_12_Tree, Top_Interview_150_Binary_Tree_General | 0 | 100.00
1712
+ | 0108 |[ Convert Sorted Array to Binary Search Tree] ( src/main/ts/g0101_0200/s0108_convert_sorted_array_to_binary_search_tree/solution.ts ) | Easy | Top_Interview_Questions, Array, Tree, Binary_Tree, Binary_Search_Tree, Divide_and_Conquer, Data_Structure_II_Day_15_Tree, Level_2_Day_9_Binary_Search_Tree, Udemy_Tree_Stack_Queue, Top_Interview_150_Divide_and_Conquer | 0 | 100.00
1713
+ | 0106 |[ Construct Binary Tree from Inorder and Postorder Traversal] ( src/main/ts/g0101_0200/s0106_construct_binary_tree_from_inorder_and_postorder_traversal/solution.ts ) | Medium | Array, Hash_Table, Tree, Binary_Tree, Divide_and_Conquer, Top_Interview_150_Binary_Tree_General | 1 | 98.78
1700
1714
| 0105 |[ Construct Binary Tree from Preorder and Inorder Traversal] ( src/main/ts/g0101_0200/s0105_construct_binary_tree_from_preorder_and_inorder_traversal/solution.ts ) | Medium | Top_100_Liked_Questions, Top_Interview_Questions, Array, Hash_Table, Tree, Binary_Tree, Divide_and_Conquer, Data_Structure_II_Day_15_Tree, Top_Interview_150_Binary_Tree_General, Big_O_Time_O(N)_ Space_O(N) | 2 | 93.38
1701
1715
| 0104 |[ Maximum Depth of Binary Tree] ( src/main/ts/g0101_0200/s0104_maximum_depth_of_binary_tree/solution.ts ) | Easy | Top_100_Liked_Questions, Top_Interview_Questions, Depth_First_Search, Breadth_First_Search, Tree, Binary_Tree, Data_Structure_I_Day_11_Tree, Programming_Skills_I_Day_10_Linked_List_and_Tree, Udemy_Tree_Stack_Queue, Top_Interview_150_Binary_Tree_General, Big_O_Time_O(N)_ Space_O(H) | 0 | 100.00
1716
+ | 0103 |[ Binary Tree Zigzag Level Order Traversal] ( src/main/ts/g0101_0200/s0103_binary_tree_zigzag_level_order_traversal/solution.ts ) | Medium | Top_Interview_Questions, Breadth_First_Search, Tree, Binary_Tree, Data_Structure_II_Day_15_Tree, Udemy_Tree_Stack_Queue, Top_Interview_150_Binary_Tree_BFS | 0 | 100.00
1702
1717
| 0102 |[ Binary Tree Level Order Traversal] ( src/main/ts/g0101_0200/s0102_binary_tree_level_order_traversal/solution.ts ) | Medium | Top_100_Liked_Questions, Top_Interview_Questions, Breadth_First_Search, Tree, Binary_Tree, Data_Structure_I_Day_11_Tree, Level_1_Day_6_Tree, Udemy_Tree_Stack_Queue, Top_Interview_150_Binary_Tree_BFS, Big_O_Time_O(N)_ Space_O(N) | 0 | 100.00
1703
1718
| 0101 |[ Symmetric Tree] ( src/main/ts/g0101_0200/s0101_symmetric_tree/solution.ts ) | Easy | Top_100_Liked_Questions, Top_Interview_Questions, Depth_First_Search, Breadth_First_Search, Tree, Binary_Tree, Data_Structure_I_Day_11_Tree, Level_2_Day_15_Tree, Top_Interview_150_Binary_Tree_General, Big_O_Time_O(N)_ Space_O(log(N)) | 0 | 100.00
1704
1719
| 0098 |[ Validate Binary Search Tree] ( src/main/ts/g0001_0100/s0098_validate_binary_search_tree/solution.ts ) | Medium | Top_100_Liked_Questions, Top_Interview_Questions, Depth_First_Search, Tree, Binary_Tree, Binary_Search_Tree, Data_Structure_I_Day_14_Tree, Level_1_Day_8_Binary_Search_Tree, Udemy_Tree_Stack_Queue, Top_Interview_150_Binary_Search_Tree, Big_O_Time_O(N)_ Space_O(log(N)) | 0 | 100.00
1720
+ | 0097 |[ Interleaving String] ( src/main/ts/g0001_0100/s0097_interleaving_string/solution.ts ) | Medium | String, Dynamic_Programming, Top_Interview_150_Multidimensional_DP | 43 | 97.65
1705
1721
| 0096 |[ Unique Binary Search Trees] ( src/main/ts/g0001_0100/s0096_unique_binary_search_trees/solution.ts ) | Medium | Dynamic_Programming, Math, Tree, Binary_Tree, Binary_Search_Tree, Dynamic_Programming_I_Day_11, Big_O_Time_O(n)_ Space_O(1) | 0 | 100.00
1706
1722
| 0094 |[ Binary Tree Inorder Traversal] ( src/main/ts/g0001_0100/s0094_binary_tree_inorder_traversal/solution.ts ) | Easy | Top_100_Liked_Questions, Top_Interview_Questions, Depth_First_Search, Tree, Binary_Tree, Stack, Data_Structure_I_Day_10_Tree, Udemy_Tree_Stack_Queue, Big_O_Time_O(n)_ Space_O(n) | 0 | 100.00
1707
1723
| 0092 |[ Reverse Linked List II] ( src/main/ts/g0001_0100/s0092_reverse_linked_list_ii/solution.ts ) | Medium | Linked_List, Top_Interview_150_Linked_List | 0 | 100.00
0 commit comments