|
225 | 225 |
|
226 | 226 | | <!-- --> | <!-- --> | <!-- --> | <!-- --> | <!-- --> | <!-- --> |
227 | 227 | |-|-|-|-|-|- |
| 228 | +| 0121 |[Best Time to Buy and Sell Stock](src/main/php/g0101_0200/s0121_best_time_to_buy_and_sell_stock)| Easy | Top_100_Liked_Questions, Top_Interview_Questions, Array, Dynamic_Programming, Big_O_Time_O(N)_Space_O(1) | 282 | 43.99 |
228 | 229 |
|
229 | 230 | #### Day 8 |
230 | 231 |
|
|
353 | 354 |
|
354 | 355 | | <!-- --> | <!-- --> | <!-- --> | <!-- --> | <!-- --> | <!-- --> |
355 | 356 | |-|-|-|-|-|- |
| 357 | +| 0104 |[Maximum Depth of Binary Tree](src/main/php/g0101_0200/s0104_maximum_depth_of_binary_tree)| 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) | 9 | 63.06 |
356 | 358 |
|
357 | 359 | #### Day 11 Containers and Libraries |
358 | 360 |
|
|
620 | 622 |
|
621 | 623 | | <!-- --> | <!-- --> | <!-- --> | <!-- --> | <!-- --> | <!-- --> |
622 | 624 | |-|-|-|-|-|- |
| 625 | +| 0121 |[Best Time to Buy and Sell Stock](src/main/php/g0101_0200/s0121_best_time_to_buy_and_sell_stock)| Easy | Top_100_Liked_Questions, Top_Interview_Questions, Array, Dynamic_Programming, Big_O_Time_O(N)_Space_O(1) | 282 | 43.99 |
623 | 626 |
|
624 | 627 | #### Day 6 Tree |
625 | 628 |
|
626 | 629 | | <!-- --> | <!-- --> | <!-- --> | <!-- --> | <!-- --> | <!-- --> |
627 | 630 | |-|-|-|-|-|- |
| 631 | +| 0102 |[Binary Tree Level Order Traversal](src/main/php/g0101_0200/s0102_binary_tree_level_order_traversal)| Medium | Top_100_Liked_Questions, Top_Interview_Questions, Breadth_First_Search, Tree, Binary_Tree, Big_O_Time_O(N)_Space_O(N) | 4 | 96.08 |
628 | 632 |
|
629 | 633 | #### Day 7 Binary Search |
630 | 634 |
|
|
756 | 760 |
|
757 | 761 | | <!-- --> | <!-- --> | <!-- --> | <!-- --> | <!-- --> | <!-- --> |
758 | 762 | |-|-|-|-|-|- |
| 763 | +| 0101 |[Symmetric Tree](src/main/php/g0101_0200/s0101_symmetric_tree)| 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)) | 6 | 76.40 |
759 | 764 |
|
760 | 765 | #### Day 16 Design |
761 | 766 |
|
|
791 | 796 |
|
792 | 797 | | <!-- --> | <!-- --> | <!-- --> | <!-- --> | <!-- --> | <!-- --> |
793 | 798 | |-|-|-|-|-|- |
| 799 | +| 0136 |[Single Number](src/main/php/g0101_0200/s0136_single_number)| Easy | Top_100_Liked_Questions, Top_Interview_Questions, Array, Bit_Manipulation, Big_O_Time_O(N)_Space_O(1) | 33 | 80.08 |
794 | 800 | | 0007 |[Reverse Integer](src/main/php/g0001_0100/s0007_reverse_integer)| Medium | Top_Interview_Questions, Math | 3 | 90.99 |
795 | 801 | | 0009 |[Palindrome Number](src/main/php/g0001_0100/s0009_palindrome_number)| Easy | Math | 23 | 76.73 |
796 | 802 |
|
|
813 | 819 |
|
814 | 820 | | <!-- --> | <!-- --> | <!-- --> | <!-- --> | <!-- --> | <!-- --> |
815 | 821 | |-|-|-|-|-|- |
| 822 | +| 0121 |[Best Time to Buy and Sell Stock](src/main/php/g0101_0200/s0121_best_time_to_buy_and_sell_stock)| Easy | Top_100_Liked_Questions, Top_Interview_Questions, Array, Dynamic_Programming, Big_O_Time_O(N)_Space_O(1) | 282 | 43.99 |
816 | 823 | | 0001 |[Two Sum](src/main/php/g0001_0100/s0001_two_sum)| Easy | Top_100_Liked_Questions, Top_Interview_Questions, Array, Hash_Table, Big_O_Time_O(n)_Space_O(n) | 9 | 97.47 |
817 | 824 | | 0055 |[Jump Game](src/main/php/g0001_0100/s0055_jump_game)| Medium | Top_100_Liked_Questions, Top_Interview_Questions, Array, Dynamic_Programming, Greedy, Big_O_Time_O(n)_Space_O(1) | 129 | 74.56 |
818 | 825 | | 0075 |[Sort Colors](src/main/php/g0001_0100/s0075_sort_colors)| Medium | Top_100_Liked_Questions, Top_Interview_Questions, Array, Sorting, Two_Pointers, Big_O_Time_O(n)_Space_O(1) | 3 | 88.78 |
|
849 | 856 |
|
850 | 857 | | <!-- --> | <!-- --> | <!-- --> | <!-- --> | <!-- --> | <!-- --> |
851 | 858 | |-|-|-|-|-|- |
| 859 | +| 0114 |[Flatten Binary Tree to Linked List](src/main/php/g0101_0200/s0114_flatten_binary_tree_to_linked_list)| Medium | Top_100_Liked_Questions, Depth_First_Search, Tree, Binary_Tree, Stack, Linked_List, Big_O_Time_O(N)_Space_O(N) | 3 | 100.00 |
852 | 860 | | 0024 |[Swap Nodes in Pairs](src/main/php/g0001_0100/s0024_swap_nodes_in_pairs)| Medium | Top_100_Liked_Questions, Linked_List, Recursion, Big_O_Time_O(n)_Space_O(1) | 3 | 85.71 |
853 | 861 | | 0021 |[Merge Two Sorted Lists](src/main/php/g0001_0100/s0021_merge_two_sorted_lists)| Easy | Top_100_Liked_Questions, Top_Interview_Questions, Linked_List, Recursion, Big_O_Time_O(m+n)_Space_O(m+n) | 3 | 90.57 |
854 | 862 | | 0025 |[Reverse Nodes in k-Group](src/main/php/g0001_0100/s0025_reverse_nodes_in_k_group)| Hard | Top_100_Liked_Questions, Linked_List, Recursion, Big_O_Time_O(n)_Space_O(k) | 3 | 100.00 |
|
858 | 866 | | <!-- --> | <!-- --> | <!-- --> | <!-- --> | <!-- --> | <!-- --> |
859 | 867 | |-|-|-|-|-|- |
860 | 868 | | 0094 |[Binary Tree Inorder Traversal](src/main/php/g0001_0100/s0094_binary_tree_inorder_traversal)| Easy | Top_100_Liked_Questions, Top_Interview_Questions, Depth_First_Search, Tree, Binary_Tree, Stack, Big_O_Time_O(n)_Space_O(n) | 3 | 82.09 |
| 869 | +| 0102 |[Binary Tree Level Order Traversal](src/main/php/g0101_0200/s0102_binary_tree_level_order_traversal)| Medium | Top_100_Liked_Questions, Top_Interview_Questions, Breadth_First_Search, Tree, Binary_Tree, Big_O_Time_O(N)_Space_O(N) | 4 | 96.08 |
| 870 | +| 0104 |[Maximum Depth of Binary Tree](src/main/php/g0101_0200/s0104_maximum_depth_of_binary_tree)| 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) | 9 | 63.06 |
| 871 | +| 0124 |[Binary Tree Maximum Path Sum](src/main/php/g0101_0200/s0124_binary_tree_maximum_path_sum)| Hard | Top_100_Liked_Questions, Top_Interview_Questions, Dynamic_Programming, Depth_First_Search, Tree, Binary_Tree, Big_O_Time_O(N)_Space_O(N) | 16 | 100.00 |
861 | 872 | | 0098 |[Validate Binary Search Tree](src/main/php/g0001_0100/s0098_validate_binary_search_tree)| Medium | Top_100_Liked_Questions, Top_Interview_Questions, Depth_First_Search, Tree, Binary_Tree, Binary_Search_Tree, Big_O_Time_O(N)_Space_O(log(N)) | 10 | 70.97 |
862 | 873 |
|
863 | 874 | #### Udemy Trie and Heap |
|
917 | 928 |
|
918 | 929 | | <!-- --> | <!-- --> | <!-- --> | <!-- --> | <!-- --> | <!-- --> |
919 | 930 | |-|-|-|-|-|- |
| 931 | +| 0121 |[Best Time to Buy and Sell Stock](src/main/php/g0101_0200/s0121_best_time_to_buy_and_sell_stock)| Easy | Top_100_Liked_Questions, Top_Interview_Questions, Array, Dynamic_Programming, Big_O_Time_O(N)_Space_O(1) | 282 | 43.99 |
920 | 932 |
|
921 | 933 | #### Day 4 Array |
922 | 934 |
|
|
961 | 973 |
|
962 | 974 | | <!-- --> | <!-- --> | <!-- --> | <!-- --> | <!-- --> | <!-- --> |
963 | 975 | |-|-|-|-|-|- |
| 976 | +| 0102 |[Binary Tree Level Order Traversal](src/main/php/g0101_0200/s0102_binary_tree_level_order_traversal)| Medium | Top_100_Liked_Questions, Top_Interview_Questions, Breadth_First_Search, Tree, Binary_Tree, Big_O_Time_O(N)_Space_O(N) | 4 | 96.08 |
| 977 | +| 0104 |[Maximum Depth of Binary Tree](src/main/php/g0101_0200/s0104_maximum_depth_of_binary_tree)| 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) | 9 | 63.06 |
| 978 | +| 0101 |[Symmetric Tree](src/main/php/g0101_0200/s0101_symmetric_tree)| 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)) | 6 | 76.40 |
964 | 979 |
|
965 | 980 | #### Day 12 Tree |
966 | 981 |
|
|
984 | 999 |
|
985 | 1000 | | <!-- --> | <!-- --> | <!-- --> | <!-- --> | <!-- --> | <!-- --> |
986 | 1001 | |-|-|-|-|-|- |
| 1002 | +| 0136 |[Single Number](src/main/php/g0101_0200/s0136_single_number)| Easy | Top_100_Liked_Questions, Top_Interview_Questions, Array, Bit_Manipulation, Big_O_Time_O(N)_Space_O(1) | 33 | 80.08 |
987 | 1003 | | 0015 |[3Sum](src/main/php/g0001_0100/s0015_3sum)| Medium | Top_100_Liked_Questions, Top_Interview_Questions, Array, Sorting, Two_Pointers, Big_O_Time_O(n^2)_Space_O(1), Big_O_Time_O(n\*log(n))_Space_O(n^2) | 252 | 77.94 |
988 | 1004 |
|
989 | 1005 | #### Day 2 Array |
|
1063 | 1079 |
|
1064 | 1080 | | <!-- --> | <!-- --> | <!-- --> | <!-- --> | <!-- --> | <!-- --> |
1065 | 1081 | |-|-|-|-|-|- |
| 1082 | +| 0105 |[Construct Binary Tree from Preorder and Inorder Traversal](src/main/php/g0101_0200/s0105_construct_binary_tree_from_preorder_and_inorder_traversal)| 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) | 14 | 63.33 |
1066 | 1083 |
|
1067 | 1084 | #### Day 16 Tree |
1068 | 1085 |
|
|
1171 | 1188 |
|
1172 | 1189 | | <!-- --> | <!-- --> | <!-- --> | <!-- --> | <!-- --> | <!-- --> |
1173 | 1190 | |-|-|-|-|-|- |
| 1191 | +| 0136 |[Single Number](src/main/php/g0101_0200/s0136_single_number)| Easy | Top_100_Liked_Questions, Top_Interview_Questions, Array, Bit_Manipulation, Big_O_Time_O(N)_Space_O(1) | 33 | 80.08 |
1174 | 1192 |
|
1175 | 1193 | ### Algorithm II |
1176 | 1194 |
|
|
1298 | 1316 |
|
1299 | 1317 | | # | Title | Difficulty | Tag | Time, ms | Time, % |
1300 | 1318 | |------|----------------|-------------|-------------|----------|-------- |
| 1319 | +| 0136 |[Single Number](src/main/php/g0101_0200/s0136_single_number)| Easy | Top_100_Liked_Questions, Top_Interview_Questions, Array, Bit_Manipulation, Data_Structure_II_Day_1_Array, Algorithm_I_Day_14_Bit_Manipulation, Udemy_Integers, Big_O_Time_O(N)_Space_O(1) | 33 | 80.08 |
| 1320 | +| 0131 |[Palindrome Partitioning](src/main/php/g0101_0200/s0131_palindrome_partitioning)| Medium | Top_100_Liked_Questions, Top_Interview_Questions, String, Dynamic_Programming, Backtracking, Big_O_Time_O(N\*2^N)_Space_O(2^N\*N) | 159 | 61.90 |
| 1321 | +| 0128 |[Longest Consecutive Sequence](src/main/php/g0101_0200/s0128_longest_consecutive_sequence)| Medium | Top_100_Liked_Questions, Top_Interview_Questions, Array, Hash_Table, Union_Find, Big_O_Time_O(N_log_N)_Space_O(1) | 154 | 75.61 |
| 1322 | +| 0124 |[Binary Tree Maximum Path Sum](src/main/php/g0101_0200/s0124_binary_tree_maximum_path_sum)| Hard | Top_100_Liked_Questions, Top_Interview_Questions, Dynamic_Programming, Depth_First_Search, Tree, Binary_Tree, Udemy_Tree_Stack_Queue, Big_O_Time_O(N)_Space_O(N) | 16 | 100.00 |
| 1323 | +| 0121 |[Best Time to Buy and Sell Stock](src/main/php/g0101_0200/s0121_best_time_to_buy_and_sell_stock)| 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, Big_O_Time_O(N)_Space_O(1) | 282 | 43.99 |
| 1324 | +| 0114 |[Flatten Binary Tree to Linked List](src/main/php/g0101_0200/s0114_flatten_binary_tree_to_linked_list)| Medium | Top_100_Liked_Questions, Depth_First_Search, Tree, Binary_Tree, Stack, Linked_List, Udemy_Linked_List, Big_O_Time_O(N)_Space_O(N) | 3 | 100.00 |
| 1325 | +| 0105 |[Construct Binary Tree from Preorder and Inorder Traversal](src/main/php/g0101_0200/s0105_construct_binary_tree_from_preorder_and_inorder_traversal)| Medium | Top_100_Liked_Questions, Top_Interview_Questions, Array, Hash_Table, Tree, Binary_Tree, Divide_and_Conquer, Data_Structure_II_Day_15_Tree, Big_O_Time_O(N)_Space_O(N) | 14 | 63.33 |
| 1326 | +| 0104 |[Maximum Depth of Binary Tree](src/main/php/g0101_0200/s0104_maximum_depth_of_binary_tree)| 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, Big_O_Time_O(N)_Space_O(H) | 9 | 63.06 |
| 1327 | +| 0102 |[Binary Tree Level Order Traversal](src/main/php/g0101_0200/s0102_binary_tree_level_order_traversal)| 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, Big_O_Time_O(N)_Space_O(N) | 4 | 96.08 |
| 1328 | +| 0101 |[Symmetric Tree](src/main/php/g0101_0200/s0101_symmetric_tree)| 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, Big_O_Time_O(N)_Space_O(log(N)) | 6 | 76.40 |
1301 | 1329 | | 0098 |[Validate Binary Search Tree](src/main/php/g0001_0100/s0098_validate_binary_search_tree)| 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, Big_O_Time_O(N)_Space_O(log(N)) | 10 | 70.97 |
1302 | 1330 | | 0096 |[Unique Binary Search Trees](src/main/php/g0001_0100/s0096_unique_binary_search_trees)| Medium | Top_100_Liked_Questions, 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 |
1303 | 1331 | | 0094 |[Binary Tree Inorder Traversal](src/main/php/g0001_0100/s0094_binary_tree_inorder_traversal)| 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) | 3 | 82.09 |
|
0 commit comments