|
250 | 250 |
|
251 | 251 | | <!-- --> | <!-- --> | <!-- --> | <!-- --> | <!-- --> | <!-- -->
|
252 | 252 | |-|-|-|-|-|-
|
| 253 | +| 0240 |[Search a 2D Matrix II](src/main/scala/g0201_0300/s0240_search_a_2d_matrix_ii)| Medium | Top_100_Liked_Questions, Top_Interview_Questions, Array, Binary_Search, Matrix, Divide_and_Conquer, Big_O_Time_O(n+m)_Space_O(1) | 579 | 66.67 |
253 | 254 |
|
254 | 255 | #### Day 9
|
255 | 256 |
|
|
404 | 405 | | <!-- --> | <!-- --> | <!-- --> | <!-- --> | <!-- --> | <!-- -->
|
405 | 406 | |-|-|-|-|-|-
|
406 | 407 | | 0064 |[Minimum Path Sum](src/main/scala/g0001_0100/s0064_minimum_path_sum)| Medium | Top_100_Liked_Questions, Array, Dynamic_Programming, Matrix, Big_O_Time_O(m\*n)_Space_O(m\*n) | 521 | 92.86
|
| 408 | +| 0221 |[Maximal Square](src/main/scala/g0201_0300/s0221_maximal_square)| Medium | Top_100_Liked_Questions, Array, Dynamic_Programming, Matrix, Big_O_Time_O(m\*n)_Space_O(m\*n) | 626 | 100.00 |
407 | 409 |
|
408 | 410 | #### Day 17
|
409 | 411 |
|
|
463 | 465 |
|
464 | 466 | | <!-- --> | <!-- --> | <!-- --> | <!-- --> | <!-- --> | <!-- -->
|
465 | 467 | |-|-|-|-|-|-
|
| 468 | +| 0283 |[Move Zeroes](src/main/scala/g0201_0300/s0283_move_zeroes)| Easy | Top_100_Liked_Questions, Top_Interview_Questions, Array, Two_Pointers, Big_O_Time_O(n)_Space_O(1) | 572 | 86.11 |
466 | 469 |
|
467 | 470 | #### Day 7 Array
|
468 | 471 |
|
|
831 | 834 | | <!-- --> | <!-- --> | <!-- --> | <!-- --> | <!-- --> | <!-- -->
|
832 | 835 | |-|-|-|-|-|-
|
833 | 836 | | 0019 |[Remove Nth Node From End of List](src/main/scala/g0001_0100/s0019_remove_nth_node_from_end_of_list)| Medium | Top_100_Liked_Questions, Top_Interview_Questions, Two_Pointers, Linked_List, Big_O_Time_O(L)_Space_O(L) | 492 | 52.63
|
| 837 | +| 0234 |[Palindrome Linked List](src/main/scala/g0201_0300/s0234_palindrome_linked_list)| Easy | Top_100_Liked_Questions, Top_Interview_Questions, Two_Pointers, Stack, Linked_List, Recursion, Big_O_Time_O(n)_Space_O(1) | 811 | 85.71 |
834 | 838 |
|
835 | 839 | #### Day 4 Linked List
|
836 | 840 |
|
|
847 | 851 |
|
848 | 852 | | <!-- --> | <!-- --> | <!-- --> | <!-- --> | <!-- --> | <!-- -->
|
849 | 853 | |-|-|-|-|-|-
|
| 854 | +| 0226 |[Invert Binary Tree](src/main/scala/g0201_0300/s0226_invert_binary_tree)| Easy | Top_100_Liked_Questions, Depth_First_Search, Breadth_First_Search, Tree, Binary_Tree, Big_O_Time_O(n)_Space_O(n) | 421 | 97.33 |
850 | 855 |
|
851 | 856 | #### Day 7 Tree
|
852 | 857 |
|
|
864 | 869 |
|
865 | 870 | | <!-- --> | <!-- --> | <!-- --> | <!-- --> | <!-- --> | <!-- -->
|
866 | 871 | |-|-|-|-|-|-
|
| 872 | +| 0230 |[Kth Smallest Element in a BST](src/main/scala/g0201_0300/s0230_kth_smallest_element_in_a_bst)| Medium | Top_100_Liked_Questions, Top_Interview_Questions, Depth_First_Search, Tree, Binary_Tree, Binary_Search_Tree, Big_O_Time_O(n)_Space_O(n) | 503 | 91.30 |
867 | 873 |
|
868 | 874 | #### Day 10 Graph/BFS/DFS
|
869 | 875 |
|
|
959 | 965 | | <!-- --> | <!-- --> | <!-- --> | <!-- --> | <!-- --> | <!-- -->
|
960 | 966 | |-|-|-|-|-|-
|
961 | 967 | | 0121 |[Best Time to Buy and Sell Stock](src/main/scala/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) | 762 | 98.45
|
| 968 | +| 0283 |[Move Zeroes](src/main/scala/g0201_0300/s0283_move_zeroes)| Easy | Top_100_Liked_Questions, Top_Interview_Questions, Array, Two_Pointers, Big_O_Time_O(n)_Space_O(1) | 572 | 86.11 |
962 | 969 | | 0001 |[Two Sum](src/main/scala/g0001_0100/s0001_two_sum)| Easy | Top_100_Liked_Questions, Top_Interview_Questions, Array, Hash_Table, Big_O_Time_O(n)_Space_O(n) | 517 | 86.66
|
963 | 970 | | 0189 |[Rotate Array](src/main/scala/g0101_0200/s0189_rotate_array)| Medium | Top_100_Liked_Questions, Top_Interview_Questions, Array, Math, Two_Pointers, Big_O_Time_O(n)_Space_O(1) | 600 | 96.59
|
964 | 971 | | 0055 |[Jump Game](src/main/scala/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) | 622 | 88.31
|
965 | 972 | | 0075 |[Sort Colors](src/main/scala/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) | 450 | 84.21
|
| 973 | +| 0238 |[Product of Array Except Self](src/main/scala/g0201_0300/s0238_product_of_array_except_self)| Medium | Top_100_Liked_Questions, Top_Interview_Questions, Array, Prefix_Sum, Big_O_Time_O(n^2)_Space_O(n) | 634 | 79.44 |
966 | 974 | | 0041 |[First Missing Positive](src/main/scala/g0001_0100/s0041_first_missing_positive)| Hard | Top_100_Liked_Questions, Top_Interview_Questions, Array, Hash_Table, Big_O_Time_O(n)_Space_O(n) | 650 | 100.00
|
| 975 | +| 0239 |[Sliding Window Maximum](src/main/scala/g0201_0300/s0239_sliding_window_maximum)| Hard | Top_100_Liked_Questions, Top_Interview_Questions, Array, Heap_Priority_Queue, Sliding_Window, Queue, Monotonic_Queue, Big_O_Time_O(n\*k)_Space_O(n+k) | 1149 | 86.67 |
967 | 976 |
|
968 | 977 | #### Udemy Two Pointers
|
969 | 978 |
|
|
1004 | 1013 | | 0206 |[Reverse Linked List](src/main/scala/g0201_0300/s0206_reverse_linked_list)| Easy | Top_100_Liked_Questions, Top_Interview_Questions, Linked_List, Recursion, Big_O_Time_O(N)_Space_O(1) | 474 | 87.50
|
1005 | 1014 | | 0021 |[Merge Two Sorted Lists](src/main/scala/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) | 480 | 89.72
|
1006 | 1015 | | 0160 |[Intersection of Two Linked Lists](src/main/scala/g0101_0200/s0160_intersection_of_two_linked_lists)| Easy | Top_100_Liked_Questions, Top_Interview_Questions, Hash_Table, Two_Pointers, Linked_List, Big_O_Time_O(M+N)_Space_O(1) | 564 | 96.43
|
| 1016 | +| 0234 |[Palindrome Linked List](src/main/scala/g0201_0300/s0234_palindrome_linked_list)| Easy | Top_100_Liked_Questions, Top_Interview_Questions, Two_Pointers, Stack, Linked_List, Recursion, Big_O_Time_O(n)_Space_O(1) | 811 | 85.71 |
1007 | 1017 | | 0138 |[Copy List with Random Pointer](src/main/scala/g0101_0200/s0138_copy_list_with_random_pointer)| Medium | Top_100_Liked_Questions, Top_Interview_Questions, Hash_Table, Linked_List, Big_O_Time_O(N)_Space_O(N) | 477 | 96.00
|
1008 | 1018 | | 0025 |[Reverse Nodes in k-Group](src/main/scala/g0001_0100/s0025_reverse_nodes_in_k_group)| Hard | Top_100_Liked_Questions, Linked_List, Recursion, Big_O_Time_O(n)_Space_O(k) | 520 | 80.00
|
1009 | 1019 | | 0146 |[LRU Cache](src/main/scala/g0101_0200/s0146_lru_cache)| Medium | Top_100_Liked_Questions, Top_Interview_Questions, Hash_Table, Design, Linked_List, Doubly_Linked_List, Big_O_Time_O(1)_Space_O(capacity) | 1590 | 85.19
|
|
1014 | 1024 | |-|-|-|-|-|-
|
1015 | 1025 | | 0094 |[Binary Tree Inorder Traversal](src/main/scala/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) | 456 | 68.42
|
1016 | 1026 | | 0102 |[Binary Tree Level Order Traversal](src/main/scala/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) | 522 | 83.33
|
| 1027 | +| 0226 |[Invert Binary Tree](src/main/scala/g0201_0300/s0226_invert_binary_tree)| Easy | Top_100_Liked_Questions, Depth_First_Search, Breadth_First_Search, Tree, Binary_Tree, Big_O_Time_O(n)_Space_O(n) | 421 | 97.33 |
1017 | 1028 | | 0104 |[Maximum Depth of Binary Tree](src/main/scala/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) | 472 | 90.83
|
1018 | 1029 | | 0124 |[Binary Tree Maximum Path Sum](src/main/scala/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) | 523 | 89.47
|
1019 | 1030 | | 0098 |[Validate Binary Search Tree](src/main/scala/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)) | 507 | 70.21
|
| 1031 | +| 0236 |[Lowest Common Ancestor of a Binary Tree](src/main/scala/g0201_0300/s0236_lowest_common_ancestor_of_a_binary_tree)| Medium | Top_100_Liked_Questions, Top_Interview_Questions, Depth_First_Search, Tree, Binary_Tree, Big_O_Time_O(n)_Space_O(n) | 539 | 70.73 |
1020 | 1032 |
|
1021 | 1033 | #### Udemy Trie and Heap
|
1022 | 1034 |
|
|
1136 | 1148 |
|
1137 | 1149 | | <!-- --> | <!-- --> | <!-- --> | <!-- --> | <!-- --> | <!-- -->
|
1138 | 1150 | |-|-|-|-|-|-
|
| 1151 | +| 0226 |[Invert Binary Tree](src/main/scala/g0201_0300/s0226_invert_binary_tree)| Easy | Top_100_Liked_Questions, Depth_First_Search, Breadth_First_Search, Tree, Binary_Tree, Big_O_Time_O(n)_Space_O(n) | 421 | 97.33 |
1139 | 1152 |
|
1140 | 1153 | #### Day 13 Tree
|
1141 | 1154 |
|
|
1175 | 1188 |
|
1176 | 1189 | | <!-- --> | <!-- --> | <!-- --> | <!-- --> | <!-- --> | <!-- -->
|
1177 | 1190 | |-|-|-|-|-|-
|
| 1191 | +| 0240 |[Search a 2D Matrix II](src/main/scala/g0201_0300/s0240_search_a_2d_matrix_ii)| Medium | Top_100_Liked_Questions, Top_Interview_Questions, Array, Binary_Search, Matrix, Divide_and_Conquer, Big_O_Time_O(n+m)_Space_O(1) | 579 | 66.67 |
1178 | 1192 |
|
1179 | 1193 | #### Day 5 Array
|
1180 | 1194 |
|
1181 | 1195 | | <!-- --> | <!-- --> | <!-- --> | <!-- --> | <!-- --> | <!-- -->
|
1182 | 1196 | |-|-|-|-|-|-
|
| 1197 | +| 0238 |[Product of Array Except Self](src/main/scala/g0201_0300/s0238_product_of_array_except_self)| Medium | Top_100_Liked_Questions, Top_Interview_Questions, Array, Prefix_Sum, Big_O_Time_O(n^2)_Space_O(n) | 634 | 79.44 |
1183 | 1198 |
|
1184 | 1199 | #### Day 6 String
|
1185 | 1200 |
|
|
1249 | 1264 |
|
1250 | 1265 | | <!-- --> | <!-- --> | <!-- --> | <!-- --> | <!-- --> | <!-- -->
|
1251 | 1266 | |-|-|-|-|-|-
|
| 1267 | +| 0230 |[Kth Smallest Element in a BST](src/main/scala/g0201_0300/s0230_kth_smallest_element_in_a_bst)| Medium | Top_100_Liked_Questions, Top_Interview_Questions, Depth_First_Search, Tree, Binary_Tree, Binary_Search_Tree, Big_O_Time_O(n)_Space_O(n) | 503 | 91.30 |
1252 | 1268 |
|
1253 | 1269 | #### Day 18 Tree
|
1254 | 1270 |
|
1255 | 1271 | | <!-- --> | <!-- --> | <!-- --> | <!-- --> | <!-- --> | <!-- -->
|
1256 | 1272 | |-|-|-|-|-|-
|
| 1273 | +| 0236 |[Lowest Common Ancestor of a Binary Tree](src/main/scala/g0201_0300/s0236_lowest_common_ancestor_of_a_binary_tree)| Medium | Top_100_Liked_Questions, Top_Interview_Questions, Depth_First_Search, Tree, Binary_Tree, Big_O_Time_O(n)_Space_O(n) | 539 | 70.73 |
1257 | 1274 |
|
1258 | 1275 | #### Day 19 Graph
|
1259 | 1276 |
|
|
1264 | 1281 |
|
1265 | 1282 | | <!-- --> | <!-- --> | <!-- --> | <!-- --> | <!-- --> | <!-- -->
|
1266 | 1283 | |-|-|-|-|-|-
|
| 1284 | +| 0215 |[Kth Largest Element in an Array](src/main/scala/g0201_0300/s0215_kth_largest_element_in_an_array)| Medium | Top_100_Liked_Questions, Top_Interview_Questions, Array, Sorting, Heap_Priority_Queue, Divide_and_Conquer, Quickselect, Big_O_Time_O(n\*log(n))_Space_O(log(n)) | 799 | 95.45 |
1267 | 1285 |
|
1268 | 1286 | #### Day 21 Heap Priority Queue
|
1269 | 1287 |
|
|
1288 | 1306 |
|
1289 | 1307 | | <!-- --> | <!-- --> | <!-- --> | <!-- --> | <!-- --> | <!-- -->
|
1290 | 1308 | |-|-|-|-|-|-
|
| 1309 | +| 0283 |[Move Zeroes](src/main/scala/g0201_0300/s0283_move_zeroes)| Easy | Top_100_Liked_Questions, Top_Interview_Questions, Array, Two_Pointers, Big_O_Time_O(n)_Space_O(1) | 572 | 86.11 |
1291 | 1310 |
|
1292 | 1311 | #### Day 4 Two Pointers
|
1293 | 1312 |
|
|
1356 | 1375 |
|
1357 | 1376 | | # | Title | Difficulty | Tag | Time, ms | Time, %
|
1358 | 1377 | |------|----------------|-------------|-------------|----------|--------
|
| 1378 | +| 0283 |[Move Zeroes](src/main/scala/g0201_0300/s0283_move_zeroes)| Easy | Top_100_Liked_Questions, Top_Interview_Questions, Array, Two_Pointers, Algorithm_I_Day_3_Two_Pointers, Programming_Skills_I_Day_6_Array, Udemy_Arrays, Big_O_Time_O(n)_Space_O(1) | 572 | 86.11 |
| 1379 | +| 0240 |[Search a 2D Matrix II](src/main/scala/g0201_0300/s0240_search_a_2d_matrix_ii)| Medium | Top_100_Liked_Questions, Top_Interview_Questions, Array, Binary_Search, Matrix, Divide_and_Conquer, Data_Structure_II_Day_4_Array, Binary_Search_II_Day_8, Big_O_Time_O(n+m)_Space_O(1) | 579 | 66.67 |
| 1380 | +| 0239 |[Sliding Window Maximum](src/main/scala/g0201_0300/s0239_sliding_window_maximum)| Hard | Top_100_Liked_Questions, Top_Interview_Questions, Array, Heap_Priority_Queue, Sliding_Window, Queue, Monotonic_Queue, Udemy_Arrays, Big_O_Time_O(n\*k)_Space_O(n+k) | 1149 | 86.67 |
| 1381 | +| 0238 |[Product of Array Except Self](src/main/scala/g0201_0300/s0238_product_of_array_except_self)| Medium | Top_100_Liked_Questions, Top_Interview_Questions, Array, Prefix_Sum, Data_Structure_II_Day_5_Array, Udemy_Arrays, Big_O_Time_O(n^2)_Space_O(n) | 634 | 79.44 |
| 1382 | +| 0236 |[Lowest Common Ancestor of a Binary Tree](src/main/scala/g0201_0300/s0236_lowest_common_ancestor_of_a_binary_tree)| Medium | Top_100_Liked_Questions, Top_Interview_Questions, Depth_First_Search, Tree, Binary_Tree, Data_Structure_II_Day_18_Tree, Udemy_Tree_Stack_Queue, Big_O_Time_O(n)_Space_O(n) | 539 | 70.73 |
| 1383 | +| 0234 |[Palindrome Linked List](src/main/scala/g0201_0300/s0234_palindrome_linked_list)| Easy | Top_100_Liked_Questions, Top_Interview_Questions, Two_Pointers, Stack, Linked_List, Recursion, Level_2_Day_3_Linked_List, Udemy_Linked_List, Big_O_Time_O(n)_Space_O(1) | 811 | 85.71 |
| 1384 | +| 0230 |[Kth Smallest Element in a BST](src/main/scala/g0201_0300/s0230_kth_smallest_element_in_a_bst)| Medium | Top_100_Liked_Questions, Top_Interview_Questions, Depth_First_Search, Tree, Binary_Tree, Binary_Search_Tree, Data_Structure_II_Day_17_Tree, Level_2_Day_9_Binary_Search_Tree, Big_O_Time_O(n)_Space_O(n) | 503 | 91.30 |
| 1385 | +| 0226 |[Invert Binary Tree](src/main/scala/g0201_0300/s0226_invert_binary_tree)| Easy | Top_100_Liked_Questions, Depth_First_Search, Breadth_First_Search, Tree, Binary_Tree, Data_Structure_I_Day_12_Tree, Level_2_Day_6_Tree, Udemy_Tree_Stack_Queue, Big_O_Time_O(n)_Space_O(n) | 421 | 97.33 |
| 1386 | +| 0221 |[Maximal Square](src/main/scala/g0201_0300/s0221_maximal_square)| Medium | Top_100_Liked_Questions, Array, Dynamic_Programming, Matrix, Dynamic_Programming_I_Day_16, Big_O_Time_O(m\*n)_Space_O(m\*n) | 626 | 100.00 |
| 1387 | +| 0215 |[Kth Largest Element in an Array](src/main/scala/g0201_0300/s0215_kth_largest_element_in_an_array)| Medium | Top_100_Liked_Questions, Top_Interview_Questions, Array, Sorting, Heap_Priority_Queue, Divide_and_Conquer, Quickselect, Data_Structure_II_Day_20_Heap_Priority_Queue, Big_O_Time_O(n\*log(n))_Space_O(log(n)) | 799 | 95.45 |
1359 | 1388 | | 0208 |[Implement Trie (Prefix Tree)](src/main/scala/g0201_0300/s0208_implement_trie_prefix_tree)| Medium | Top_100_Liked_Questions, Top_Interview_Questions, String, Hash_Table, Design, Trie, Level_2_Day_16_Design, Udemy_Trie_and_Heap, Big_O_Time_O(word.length())_or_O(prefix.length())_Space_O(N) | 610 | 100.00
|
1360 | 1389 | | 0207 |[Course Schedule](src/main/scala/g0201_0300/s0207_course_schedule)| Medium | Top_100_Liked_Questions, Top_Interview_Questions, Depth_First_Search, Breadth_First_Search, Graph, Topological_Sort, Big_O_Time_O(N)_Space_O(N) | 548 | 87.81
|
1361 | 1390 | | 0206 |[Reverse Linked List](src/main/scala/g0201_0300/s0206_reverse_linked_list)| Easy | Top_100_Liked_Questions, Top_Interview_Questions, Linked_List, Recursion, Data_Structure_I_Day_8_Linked_List, Algorithm_I_Day_10_Recursion_Backtracking, Level_1_Day_3_Linked_List, Udemy_Linked_List, Big_O_Time_O(N)_Space_O(1) | 474 | 87.50
|
|
0 commit comments