Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Sign up
Appearance settings

Commit 21e97e8

Browse files
updating docs
1 parent 53d6e3e commit 21e97e8

17 files changed

+987
-150
lines changed

‎docs/.vitepress/Sidebar.js

Lines changed: 31 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -76,6 +76,10 @@ export default Sidebar = [
7676
text: "042 - Trapping Rain Water",
7777
link: "/solution/0001-0100/042 - Trapping Rain Water.md",
7878
},
79+
{
80+
text: "048 - Rotate Image",
81+
link: "/solution/0001-0100/048 - Rotate Image.md",
82+
},
7983
{
8084
text: "051 - N-Queens",
8185
link: "/solution/0001-0100/051 - N-Queens.md",
@@ -116,6 +120,10 @@ export default Sidebar = [
116120
text: "072 - Edit Distance",
117121
link: "/solution/0001-0100/072 - Edit Distance.md",
118122
},
123+
{
124+
text: "074 - Search a 2D Matrix",
125+
link: "/solution/0001-0100/074 - Search a 2D Matrix.md",
126+
},
119127
{
120128
text: "075 - Sort Colors",
121129
link: "/solution/0001-0100/075 - Sort Colors.md",
@@ -532,6 +540,10 @@ export default Sidebar = [
532540
text: "492 - Construct the Rectangle",
533541
link: "/solution/0401-0500/492 - Construct the Rectangle.md",
534542
},
543+
{
544+
text: "498 - Diagonal Traverse",
545+
link: "/solution/0401-0500/498 - Diagonal Traverse.md",
546+
},
535547
],
536548
},
537549
{
@@ -548,8 +560,8 @@ export default Sidebar = [
548560
link: "/solution/0501-0600/504 - Base 7.md",
549561
},
550562
{
551-
text: "506 - Relative Ranks",
552-
link: "/solution/0501-0600/506 - Relative Ranks.md",
563+
text: "506 - Relative Ranks",
564+
link: "/solution/0501-0600/506 - Relative Ranks.md",
553565
},
554566
{
555567
text: "507 - Perfect Number",
@@ -682,6 +694,10 @@ export default Sidebar = [
682694
text: "1011 - Capacity To Ship Packages Within D Days",
683695
link: "/solution/1001-1100/1011 - Capacity To Ship Packages Within D Days.md",
684696
},
697+
{
698+
text: "1029 - Two City Scheduling",
699+
link: "/solution/1001-1100/1029 - Two City Scheduling.md",
700+
},
685701
{
686702
text: "1047 - Remove All Adjacent Duplicates In String",
687703
link: "/solution/1001-1100/1047 - Remove All Adjacent Duplicates In String.md",
@@ -774,8 +790,8 @@ export default Sidebar = [
774790
link: "/solution/1501-1600/1512 - Number of Good Pairs.md",
775791
},
776792
{
777-
text: "1523. Count Odd Numbers in an Interval Range",
778-
link: "/solution/1501-1600/1523. Count Odd Numbers in an Interval Range.md",
793+
text: "1523 - Count Odd Numbers in an Interval Range",
794+
link: "/solution/1501-1600/1523 - Count Odd Numbers in an Interval Range.md",
779795
},
780796
{
781797
text: "1537 - Get the Maximum Score",
@@ -905,4 +921,15 @@ export default Sidebar = [
905921
},
906922
],
907923
},
924+
{
925+
text: "2501-2600",
926+
collapsible: true,
927+
collapsed: true,
928+
items: [
929+
{
930+
text: "2551 - Put Marbles in Bags",
931+
link: "/solution/2501-2600/2551 - Put Marbles in Bags.md",
932+
},
933+
],
934+
},
908935
];

‎docs/SERIALWISE.md

Lines changed: 10 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -32,6 +32,7 @@
3232
| **0037** | [Sudoku Solver][37] | Array, Backtracking, Matrix | ![][hard] | |
3333
| **0041** | [First Missing Positive][41] | Array, Hash Table | ![][hard] | |
3434
| **0042** | [Trapping Rain Water][42] | Array, Two Pointers, Dynamic Programming, Stack, Monotonic Stack | ![][hard] | |
35+
| **0048** | [Rotate Image][48] | Array, Math, Matrix | ![][medium] | |
3536
| **0051** | [N-Queens][51] | Array, Backtracking | ![][hard] | |
3637
| **0053** | [Maximum Subarray][53] | Array, Divide and Conquer, DP | ![][medium] | |
3738
| **0055** | [Jump Game][55] | Array, Dynamic Programming, Greedy | ![][medium] | |
@@ -42,6 +43,7 @@
4243
| **0069** | [Sqrt(x)][69] | Math, BS | ![][easy] | |
4344
| **0070** | [Climbing Stairs][70] | Math, Dynamic Programming, Memorization | ![][easy] | |
4445
| **0072** | [Edit Distance][72] | String, DP | ![][hard] | |
46+
| **0074** | [Search a 2D Matrix][74] | Array, Binary Search, Matrix | ![][medium] | |
4547
| **0075** | [Sort Colors][75] | Array, Two Pointers, Sorting | ![][medium] | |
4648
| **0078** | [Subsets][78] | Array, Backtracking, Bit Manip | ![][medium] | |
4749
| **0083** | [Remove Duplicates from Sorted List][83] | LL | ![][easy] | |
@@ -139,6 +141,7 @@
139141
| **0482** | [License Key Formatting][482] | String | ![][easy] | |
140142
| **0485** | [Max Consecutive Ones][485] | Array | ![][easy] | |
141143
| **0492** | [Construct the Rectangle][492] | Math | ![][easy] | |
144+
| **0498** | [Diagonal Traverse][498] | Array, Matrix, Simulation | ![][medium] | |
142145
| **0502** | [IPO][502] | Array, Greedy, Sorting, Heap (Priority Queue) | ![][hard] | |
143146
| **0504** | [Base 7][504] | Math | ![][easy] | |
144147
| **0506** | [Relative Ranks][506] | Array, Sorting, Heap | ![][easy] | |
@@ -166,6 +169,7 @@
166169
| **0958** | [Check Completeness of a Binary Tree][958] | Tree, Breadth-First Search, Binary Tree | ![][medium] | |
167170
| **0997** | [Find the Town Judge][997] | Array, Hash Table, Graph | ![][easy] | |
168171
| **1011** | [Capacity To Ship Packages Within D Days][1011] | Array, BS | ![][medium] | |
172+
| **1029** | [Two City Scheduling][1029] | Array, Greedy, Sorting | ![][medium] | |
169173
| **1047** | [Remove All Adjacent Duplicates In String][1047] | String, Stack | ![][easy] | |
170174
| **1092** | [Shortest Common Supersequence][1092] | String, DP | ![][hard] | |
171175
| **1108** | [Defanging an IP Address][1108] | String | ![][easy] | |
@@ -201,6 +205,7 @@
201205
| **2427** | [Number of Common Factors][2427] | Math, Enumeration, Number Theory | ![][easy] | |
202206
| **2444** | [Count Subarrays With Fixed Bounds][2444] | Array, Queue, Sliding Window, Monotonic Queue | ![][hard] | |
203207
| **2469** | [Convert the Temperature][2469] | Math | ![][easy] | |
208+
| **2551** | [Put Marbles in Bags][2551] | Array, Greedy, Sorting, Heap (Priority Queue) | ![][hard] | |
204209
| **2574** | [Left and Right Sum Differences][2574] | Array, Prefix Sum | ![][easy] | |
205210

206211
</div>
@@ -224,6 +229,7 @@
224229
[37]: ./solution/0001-0100/037%20-%20Sudoku%20Solver.md
225230
[41]: ./solution/0001-0100/041%20-%20First%20Missing%20Positive.md
226231
[42]: ./solution/0001-0100/042%20-%20Trapping%20Rain%20Water.md
232+
[48]: ./solution/0001-0100/048%20-%20Rotate%20Image.md
227233
[51]: ./solution/0001-0100/051%20-%20N-Queens.md
228234
[53]: ./solution/0001-0100/053%20-%20Maximum%20Subarray.md
229235
[55]: ./solution/0001-0100/055%20-%20Jump%20Game.md
@@ -235,6 +241,7 @@
235241
[69]: ./solution/0001-0100/069%20-%20Sqrt(x).md
236242
[70]: ./solution/0001-0100/070%20-%20Climbing%20Stairs.md
237243
[72]: ./solution/0001-0100/072%20-%20Edit%20Distance.md
244+
[74]: ./solution/0001-0100/074%20-%20Search%20a%202D%20Matrix.md
238245
[75]: ./solution/0001-0100/075%20-%20Sort%20Colors.md
239246
[78]: ./solution/0001-0100/078%20-%20Subsets.md
240247
[83]: ./solution/0001-0100/083%20-%20Remove%20Duplicates%20from%20Sorted%20List.md
@@ -337,6 +344,7 @@
337344
[482]: ./solution/0401-0500/482%20-%20License%20Key%20Formatting.md
338345
[485]: ./solution/0401-0500/485%20-%20Max%20Consecutive%20Ones.md
339346
[492]: ./solution/0401-0500/492%20-%20Construct%20the%20Rectangle.md
347+
[498]: ./solution/0401-0500/498%20-%20Diagonal%20Traverse.md
340348
[502]: ./solution/0501-0600/502%20-%20IPO.md
341349
[504]: ./solution/0501-0600/504%20-%20Base%207.md
342350
[506]: ./solution/0501-0600/506%20-%20%20Relative%20Ranks.md
@@ -365,6 +373,7 @@
365373
[997]: ./solution/0901-1000/997%20-%20Find%20the%20Town%20Judge.md
366374
[997]: ./solution/0901-1000/997%20-%20Find%20the%20Town%20Judge.md
367375
[1011]: ./solution/1001-1100/1011%20-%20Capacity%20To%20Ship%20Packages%20Within%20D%20Days.md
376+
[1029]: ./solution/1001-1100/1029%20-%20Two%20City%20Scheduling.md
368377
[1047]: ./solution/1001-1100/1047%20-%20Remove%20All%20Adjacent%20Duplicates%20In%20String.md
369378
[1092]: ./solution/1001-1100/1092%20-%20Shortest%20Common%20Supersequence.md
370379
[1108]: ./solution/1101-1200/1108%20-%20Defanging%20an%20IP%20Address.md
@@ -400,6 +409,7 @@
400409
[2427]: ./solution/2401-2500/2427%20-%20Number%20of%20Common%20Factors.md
401410
[2444]: ./solution/2401-2500/2444%20-%20Count%20Subarrays%20With%20Fixed%20Bounds.md
402411
[2469]: ./solution/2401-2500/2469%20-%20Convert%20the%20Temperature.md
412+
[2551]: ./solution/2501-2600/2551%20-%20Put%20Marbles%20in%20Bags.md
403413
[2574]: ./solution/2401-2500/2574%20-%20Left%20and%20Right%20Sum%20Differences.md
404414

405415
<!----------------------------------{ Labels }--------------------------------->

0 commit comments

Comments
(0)

AltStyle によって変換されたページ (->オリジナル) /