@@ -12,7 +12,6 @@ TypeScript-based LeetCode algorithm problem solutions, regularly updated.
12
12
> [ "For coding interview preparation, LeetCode is one of the best online resource providing a rich library of more than 300 real coding interview questions for you to practice from using one of the 7 supported languages - C, C++, Java, Python, C#, JavaScript, Ruby."] ( https://www.quora.com/How-effective-is-Leetcode-for-preparing-for-technical-interviews )
13
13
14
14
##
15
- * [ Algorithm I] ( #algorithm-i )
16
15
* [ Algorithm II] ( #algorithm-ii )
17
16
* [ Binary Search I] ( #binary-search-i )
18
17
* [ Binary Search II] ( #binary-search-ii )
@@ -26,89 +25,7 @@ TypeScript-based LeetCode algorithm problem solutions, regularly updated.
26
25
* [ Udemy] ( #udemy )
27
26
* [ Data Structure I] ( #data-structure-i )
28
27
* [ Data Structure II] ( #data-structure-ii )
29
-
30
- ### Algorithm I
31
-
32
- #### Day 1 Binary Search
33
-
34
- | <!-- --> | <!-- --> | <!-- --> | <!-- --> | <!-- --> | <!-- -->
35
- |-|-|-|-|-|-
36
- | 0035 |[ Search Insert Position] ( src/main/ts/g0001_0100/s0035_search_insert_position/solution.ts ) | Easy | Top_100_Liked_Questions, Array, Binary_Search, Big_O_Time_O(log_n)_ Space_O(1) | 51 | 80.95
37
-
38
- #### Day 2 Two Pointers
39
-
40
- | <!-- --> | <!-- --> | <!-- --> | <!-- --> | <!-- --> | <!-- -->
41
- |-|-|-|-|-|-
42
- | 0189 |[ Rotate Array] ( src/main/ts/g0101_0200/s0189_rotate_array/solution.ts ) | Medium | Top_100_Liked_Questions, Top_Interview_Questions, Array, Math, Two_Pointers, Big_O_Time_O(n)_ Space_O(1) | 75 | 97.25
43
-
44
- #### Day 3 Two Pointers
45
-
46
- | <!-- --> | <!-- --> | <!-- --> | <!-- --> | <!-- --> | <!-- -->
47
- |-|-|-|-|-|-
48
- | 0283 |[ Move Zeroes] ( src/main/ts/g0201_0300/s0283_move_zeroes/solution.ts ) | Easy | Top_100_Liked_Questions, Top_Interview_Questions, Array, Two_Pointers, Big_O_Time_O(n)_ Space_O(1) | 71 | 91.63
49
-
50
- #### Day 4 Two Pointers
51
-
52
- | <!-- --> | <!-- --> | <!-- --> | <!-- --> | <!-- --> | <!-- -->
53
- |-|-|-|-|-|-
54
-
55
- #### Day 5 Two Pointers
56
-
57
- | <!-- --> | <!-- --> | <!-- --> | <!-- --> | <!-- --> | <!-- -->
58
- |-|-|-|-|-|-
59
- | 0019 |[ Remove Nth Node From End of List] ( src/main/ts/g0001_0100/s0019_remove_nth_node_from_end_of_list/solution.ts ) | Medium | Top_100_Liked_Questions, Top_Interview_Questions, Two_Pointers, Linked_List, Big_O_Time_O(L)_ Space_O(L) | 54 | 87.87
60
-
61
- #### Day 6 Sliding Window
62
-
63
- | <!-- --> | <!-- --> | <!-- --> | <!-- --> | <!-- --> | <!-- -->
64
- |-|-|-|-|-|-
65
- | 0003 |[ Longest Substring Without Repeating Characters] ( src/main/ts/g0001_0100/s0003_longest_substring_without_repeating_characters/solution.ts ) | Medium | Top_100_Liked_Questions, Top_Interview_Questions, String, Hash_Table, Sliding_Window, Big_O_Time_O(n)_ Space_O(1) | 65 | 90.77
66
-
67
- #### Day 7 Breadth First Search Depth First Search
68
-
69
- | <!-- --> | <!-- --> | <!-- --> | <!-- --> | <!-- --> | <!-- -->
70
- |-|-|-|-|-|-
71
-
72
- #### Day 8 Breadth First Search Depth First Search
73
-
74
- | <!-- --> | <!-- --> | <!-- --> | <!-- --> | <!-- --> | <!-- -->
75
- |-|-|-|-|-|-
76
-
77
- #### Day 9 Breadth First Search Depth First Search
78
-
79
- | <!-- --> | <!-- --> | <!-- --> | <!-- --> | <!-- --> | <!-- -->
80
- |-|-|-|-|-|-
81
-
82
- #### Day 10 Recursion Backtracking
83
-
84
- | <!-- --> | <!-- --> | <!-- --> | <!-- --> | <!-- --> | <!-- -->
85
- |-|-|-|-|-|-
86
- | 0021 |[ Merge Two Sorted Lists] ( src/main/ts/g0001_0100/s0021_merge_two_sorted_lists/solution.ts ) | Easy | Top_100_Liked_Questions, Top_Interview_Questions, Linked_List, Recursion, Big_O_Time_O(m+n)_ Space_O(m+n) | 59 | 86.77
87
- | 0206 |[ Reverse Linked List] ( src/main/ts/g0201_0300/s0206_reverse_linked_list/solution.ts ) | Easy | Top_100_Liked_Questions, Top_Interview_Questions, Linked_List, Recursion, Big_O_Time_O(N)_ Space_O(1) | 51 | 92.87
88
-
89
- #### Day 11 Recursion Backtracking
90
-
91
- | <!-- --> | <!-- --> | <!-- --> | <!-- --> | <!-- --> | <!-- -->
92
- |-|-|-|-|-|-
93
- | 0046 |[ Permutations] ( src/main/ts/g0001_0100/s0046_permutations/solution.ts ) | Medium | Top_100_Liked_Questions, Top_Interview_Questions, Array, Backtracking, Big_O_Time_O(n\* n!)_ Space_O(n+n!) | 56 | 96.26
94
-
95
- #### Day 12 Dynamic Programming
96
-
97
- | <!-- --> | <!-- --> | <!-- --> | <!-- --> | <!-- --> | <!-- -->
98
- |-|-|-|-|-|-
99
- | 0070 |[ Climbing Stairs] ( src/main/ts/g0001_0100/s0070_climbing_stairs/solution.ts ) | Easy | Top_100_Liked_Questions, Top_Interview_Questions, Dynamic_Programming, Math, Memoization, Big_O_Time_O(n)_ Space_O(n) | 44 | 94.58
100
- | 0198 |[ House Robber] ( src/main/ts/g0101_0200/s0198_house_robber/solution.ts ) | Medium | Top_100_Liked_Questions, Top_Interview_Questions, Array, Dynamic_Programming, Big_O_Time_O(n)_ Space_O(n) | 51 | 77.29
101
-
102
- #### Day 13 Bit Manipulation
103
-
104
- | <!-- --> | <!-- --> | <!-- --> | <!-- --> | <!-- --> | <!-- -->
105
- |-|-|-|-|-|-
106
-
107
- #### Day 14 Bit Manipulation
108
-
109
- | <!-- --> | <!-- --> | <!-- --> | <!-- --> | <!-- --> | <!-- -->
110
- |-|-|-|-|-|-
111
- | 0136 |[ Single Number] ( src/main/ts/g0101_0200/s0136_single_number/solution.ts ) | Easy | Top_100_Liked_Questions, Top_Interview_Questions, Array, Bit_Manipulation, Big_O_Time_O(N)_ Space_O(1) | 56 | 85.48
28
+ * [ Algorithm I] ( #algorithm-i )
112
29
113
30
### Algorithm II
114
31
@@ -1408,6 +1325,89 @@ TypeScript-based LeetCode algorithm problem solutions, regularly updated.
1408
1325
| <!-- --> | <!-- --> | <!-- --> | <!-- --> | <!-- --> | <!-- -->
1409
1326
|-|-|-|-|-|-
1410
1327
1328
+ ### Algorithm I
1329
+
1330
+ #### Day 1 Binary Search
1331
+
1332
+ | <!-- --> | <!-- --> | <!-- --> | <!-- --> | <!-- --> | <!-- -->
1333
+ |-|-|-|-|-|-
1334
+ | 0035 |[ Search Insert Position] ( src/main/ts/g0001_0100/s0035_search_insert_position/solution.ts ) | Easy | Top_100_Liked_Questions, Array, Binary_Search, Big_O_Time_O(log_n)_ Space_O(1) | 51 | 80.95
1335
+
1336
+ #### Day 2 Two Pointers
1337
+
1338
+ | <!-- --> | <!-- --> | <!-- --> | <!-- --> | <!-- --> | <!-- -->
1339
+ |-|-|-|-|-|-
1340
+ | 0189 |[ Rotate Array] ( src/main/ts/g0101_0200/s0189_rotate_array/solution.ts ) | Medium | Top_100_Liked_Questions, Top_Interview_Questions, Array, Math, Two_Pointers, Big_O_Time_O(n)_ Space_O(1) | 75 | 97.25
1341
+
1342
+ #### Day 3 Two Pointers
1343
+
1344
+ | <!-- --> | <!-- --> | <!-- --> | <!-- --> | <!-- --> | <!-- -->
1345
+ |-|-|-|-|-|-
1346
+ | 0283 |[ Move Zeroes] ( src/main/ts/g0201_0300/s0283_move_zeroes/solution.ts ) | Easy | Top_100_Liked_Questions, Top_Interview_Questions, Array, Two_Pointers, Big_O_Time_O(n)_ Space_O(1) | 71 | 91.63
1347
+
1348
+ #### Day 4 Two Pointers
1349
+
1350
+ | <!-- --> | <!-- --> | <!-- --> | <!-- --> | <!-- --> | <!-- -->
1351
+ |-|-|-|-|-|-
1352
+
1353
+ #### Day 5 Two Pointers
1354
+
1355
+ | <!-- --> | <!-- --> | <!-- --> | <!-- --> | <!-- --> | <!-- -->
1356
+ |-|-|-|-|-|-
1357
+ | 0019 |[ Remove Nth Node From End of List] ( src/main/ts/g0001_0100/s0019_remove_nth_node_from_end_of_list/solution.ts ) | Medium | Top_100_Liked_Questions, Top_Interview_Questions, Two_Pointers, Linked_List, Big_O_Time_O(L)_ Space_O(L) | 54 | 87.87
1358
+
1359
+ #### Day 6 Sliding Window
1360
+
1361
+ | <!-- --> | <!-- --> | <!-- --> | <!-- --> | <!-- --> | <!-- -->
1362
+ |-|-|-|-|-|-
1363
+ | 0003 |[ Longest Substring Without Repeating Characters] ( src/main/ts/g0001_0100/s0003_longest_substring_without_repeating_characters/solution.ts ) | Medium | Top_100_Liked_Questions, Top_Interview_Questions, String, Hash_Table, Sliding_Window, Big_O_Time_O(n)_ Space_O(1) | 65 | 90.77
1364
+
1365
+ #### Day 7 Breadth First Search Depth First Search
1366
+
1367
+ | <!-- --> | <!-- --> | <!-- --> | <!-- --> | <!-- --> | <!-- -->
1368
+ |-|-|-|-|-|-
1369
+
1370
+ #### Day 8 Breadth First Search Depth First Search
1371
+
1372
+ | <!-- --> | <!-- --> | <!-- --> | <!-- --> | <!-- --> | <!-- -->
1373
+ |-|-|-|-|-|-
1374
+
1375
+ #### Day 9 Breadth First Search Depth First Search
1376
+
1377
+ | <!-- --> | <!-- --> | <!-- --> | <!-- --> | <!-- --> | <!-- -->
1378
+ |-|-|-|-|-|-
1379
+
1380
+ #### Day 10 Recursion Backtracking
1381
+
1382
+ | <!-- --> | <!-- --> | <!-- --> | <!-- --> | <!-- --> | <!-- -->
1383
+ |-|-|-|-|-|-
1384
+ | 0021 |[ Merge Two Sorted Lists] ( src/main/ts/g0001_0100/s0021_merge_two_sorted_lists/solution.ts ) | Easy | Top_100_Liked_Questions, Top_Interview_Questions, Linked_List, Recursion, Big_O_Time_O(m+n)_ Space_O(m+n) | 59 | 86.77
1385
+ | 0206 |[ Reverse Linked List] ( src/main/ts/g0201_0300/s0206_reverse_linked_list/solution.ts ) | Easy | Top_100_Liked_Questions, Top_Interview_Questions, Linked_List, Recursion, Big_O_Time_O(N)_ Space_O(1) | 51 | 92.87
1386
+
1387
+ #### Day 11 Recursion Backtracking
1388
+
1389
+ | <!-- --> | <!-- --> | <!-- --> | <!-- --> | <!-- --> | <!-- -->
1390
+ |-|-|-|-|-|-
1391
+ | 0046 |[ Permutations] ( src/main/ts/g0001_0100/s0046_permutations/solution.ts ) | Medium | Top_100_Liked_Questions, Top_Interview_Questions, Array, Backtracking, Big_O_Time_O(n\* n!)_ Space_O(n+n!) | 56 | 96.26
1392
+
1393
+ #### Day 12 Dynamic Programming
1394
+
1395
+ | <!-- --> | <!-- --> | <!-- --> | <!-- --> | <!-- --> | <!-- -->
1396
+ |-|-|-|-|-|-
1397
+ | 0070 |[ Climbing Stairs] ( src/main/ts/g0001_0100/s0070_climbing_stairs/solution.ts ) | Easy | Top_100_Liked_Questions, Top_Interview_Questions, Dynamic_Programming, Math, Memoization, Big_O_Time_O(n)_ Space_O(n) | 44 | 94.58
1398
+ | 0198 |[ House Robber] ( src/main/ts/g0101_0200/s0198_house_robber/solution.ts ) | Medium | Top_100_Liked_Questions, Top_Interview_Questions, Array, Dynamic_Programming, Big_O_Time_O(n)_ Space_O(n) | 51 | 77.29
1399
+
1400
+ #### Day 13 Bit Manipulation
1401
+
1402
+ | <!-- --> | <!-- --> | <!-- --> | <!-- --> | <!-- --> | <!-- -->
1403
+ |-|-|-|-|-|-
1404
+
1405
+ #### Day 14 Bit Manipulation
1406
+
1407
+ | <!-- --> | <!-- --> | <!-- --> | <!-- --> | <!-- --> | <!-- -->
1408
+ |-|-|-|-|-|-
1409
+ | 0136 |[ Single Number] ( src/main/ts/g0101_0200/s0136_single_number/solution.ts ) | Easy | Top_100_Liked_Questions, Top_Interview_Questions, Array, Bit_Manipulation, Big_O_Time_O(N)_ Space_O(1) | 56 | 85.48
1410
+
1411
1411
## Algorithms
1412
1412
1413
1413
| # | Title | Difficulty | Tag | Time, ms | Time, %
0 commit comments