Skip to content
Open
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
527 commits
Select commit Hold shift + click to select a range
e8d6a74
feat: add solutions to lc problems: No.3021,3516 (#4671)
yanglbme Aug 26, 2025
02b13cd
chore: auto update starcharts
idoocs Aug 28, 2025
247a319
feat: add solutions to lc problem: No.3446 (#4674)
yanglbme Aug 28, 2025
7c89a76
feat: add solutions to lc problems: No.3018~3020 (#4675)
yanglbme Aug 28, 2025
0651e16
feat: add solutions to lc problem: No.0036 (#4676)
yanglbme Aug 29, 2025
2ef8ae2
feat: add solutions to lc problem: No.1733 (#4677)
yanglbme Aug 30, 2025
f361e24
feat: add biweekly contest 164 (#4679)
yanglbme Aug 31, 2025
4211da8
feat: add weekly contest 465 (#4680)
yanglbme Aug 31, 2025
f998bd8
feat: add solutions to lc problems: No.3668,3669 (#4681)
yanglbme Aug 31, 2025
e7d0817
feat: add solutions to lc problem: No.1792 (#4683)
yanglbme Aug 31, 2025
e0dbf9b
chore: auto compress images (#4682)
github-actions[bot] Aug 31, 2025
ddbb6b8
chore: auto compress images (#4684)
github-actions[bot] Aug 31, 2025
0189984
chore: auto compress images (#4685)
github-actions[bot] Sep 1, 2025
797ccf0
chore: auto compress images (#4686)
github-actions[bot] Sep 1, 2025
c00e2b9
chore: auto compress images (#4687)
github-actions[bot] Sep 1, 2025
efbd654
chore: auto compress images (#4688)
github-actions[bot] Sep 1, 2025
82d48ae
chore: auto compress images (#4689)
github-actions[bot] Sep 1, 2025
195f042
feat: add rust solution to lc problems: No.3025,3027 (#4691)
yanglbme Sep 1, 2025
dd52bbf
fix: solution of 412 (#4692)
hypergadam Sep 2, 2025
559703b
feat: add solutions to lc problems: No.2349,2749 (#4693)
yanglbme Sep 3, 2025
c151b55
feat: add solutions to lc problems: No.0966,3227 (#4694)
yanglbme Sep 3, 2025
4410451
feat: add solutions to lc problem: No.3495 (#4696)
yanglbme Sep 5, 2025
ac0cf6e
feat: add solutions to lc problem: No.3495 (#4697)
yanglbme Sep 5, 2025
98852a2
feat: update lc problems (#4698)
yanglbme Sep 5, 2025
a07146e
feat: add solutions to lc problem: No.1304 (#4700)
yanglbme Sep 7, 2025
29183b6
feat: add weekly contest 466 (#4701)
yanglbme Sep 7, 2025
5e3d4a0
feat: add solutions to lc problems: No.3674,3675 (#4702)
yanglbme Sep 7, 2025
bc8aa8f
chore: force update docs branch
yanglbme Sep 7, 2025
8080d2c
feat: add solutions to lc problem: No.1317 (#4704)
yanglbme Sep 7, 2025
368460e
chore: update deploy ci
yanglbme Sep 8, 2025
6e4118a
feat: add solutions to lc problem: No.2327 (#4707)
yanglbme Sep 8, 2025
8507175
feat: add solutions to lc problem: No.3672 (#4709)
yanglbme Sep 9, 2025
dbf0f24
feat: add solutions to lc problem: No.3673 (#4712)
yanglbme Sep 10, 2025
251474b
feat: add rust solution to lc problem: No.2785 (#4713)
yanglbme Sep 10, 2025
9dd568d
feat: add solutions to lc problems: No.3224~3226 (#4715)
yanglbme Sep 11, 2025
2543cf3
chore: auto compress images [skip ci] (#4716)
github-actions[bot] Sep 11, 2025
8f4354b
feat: add solutions to lc problem: No.3541 (#4717)
yanglbme Sep 12, 2025
07894d3
chore: auto update starcharts
idoocs Sep 13, 2025
ddc53e0
feat: add new lc problems (#4718)
yanglbme Sep 14, 2025
8b08fcc
feat: add new lc problems (#4719)
yanglbme Sep 14, 2025
a83b078
feat: add solutions to lc problems: No.3683,3684 (#4720)
yanglbme Sep 14, 2025
c29de98
chore: auto compress images [skip ci] (#4721)
github-actions[bot] Sep 14, 2025
58634a4
feat: add solutions to lc problem: No.1935 (#4722)
yanglbme Sep 14, 2025
1927cec
feat: add solutions to lc problem: No.3678 (#4723)
yanglbme Sep 15, 2025
d7374bc
feat: add solutions to lc problem: No.2197 (#4724)
yanglbme Sep 15, 2025
eb6d08f
feat: add solutions to lc problem: No.3679 (#4725)
yanglbme Sep 15, 2025
520728e
feat: add solutions to lc problem: No.3652 (#4728)
yanglbme Sep 16, 2025
16fb183
feat: add solutions to lc problem: No.3408 (#4729)
yanglbme Sep 17, 2025
96c0036
feat: add rust solution to lc problem: No.3407 (#4730)
yanglbme Sep 18, 2025
7e1a420
feat: add solution to lc problem: No.3484 (#4731)
yanglbme Sep 18, 2025
fd939f6
feat: add solutions to lc problem: No.3588 (#4732)
yanglbme Sep 18, 2025
5944c37
feat: add solutions to lc problem: No.3508 (#4733)
yanglbme Sep 20, 2025
246946f
feat: add solutions to lc problem: No.1912 (#4735)
yanglbme Sep 21, 2025
0d3d402
feat: add solutions to lc problems: No.0358,0359 (#4736)
yanglbme Sep 21, 2025
a90d058
feat: add solutions to lc problem: No.0360 (#4737)
yanglbme Sep 21, 2025
ea99dcf
feat: add solutions to lc problems: No.3687~3689 (#4738)
yanglbme Sep 21, 2025
e89ef4f
feat: add solutions to lc problem: No.3690 (#4739)
yanglbme Sep 21, 2025
5ceea3b
feat: add solutions to lc problem: No.3005 (#4740)
yanglbme Sep 21, 2025
41a01df
chore: auto compress images [skip ci] (#4741)
github-actions[bot] Sep 22, 2025
1337448
feat: add solutions to lc problem: No.0976 (#4742)
yanglbme Sep 22, 2025
96543e6
feat: add solutions to lc problem: No.2429 (#4743)
yanglbme Sep 22, 2025
e6b0375
feat: add solutions to lc problem: No.0165 (#4744)
yanglbme Sep 22, 2025
8a6845b
feat: add rust solution to lc problem: No.0166 (#4745)
yanglbme Sep 23, 2025
14510ba
feat: add ts solution for problem 442 (#4734)
hypergadam Sep 23, 2025
57032bd
feat: add solutions to lc problem: No.3100 (#4746)
yanglbme Sep 23, 2025
8c1d32f
feat: add solutions to lc problem: No.0120 (#4747)
yanglbme Sep 24, 2025
e48eff5
feat: update solutions to lc problem: No.0611 (#4748)
yanglbme Sep 25, 2025
bd03a95
feat: add solutions to lc problem: No.0812 (#4750)
yanglbme Sep 27, 2025
29bc1b1
feat: add weekly contest (#4753)
yanglbme Sep 28, 2025
2a02977
chore: auto compress images (#4754)
github-actions[bot] Sep 28, 2025
10277cb
feat: update solutions to lc problem: No.1039 (#4755)
yanglbme Sep 28, 2025
264b8f0
chore: auto compress images [skip ci] (#4756)
github-actions[bot] Sep 28, 2025
b60dc87
feat: add solutions to lc problem: No.3692 (#4757)
yanglbme Sep 29, 2025
2d95ff9
feat: add solutions to lc problem: No.2221 (#4758)
yanglbme Sep 29, 2025
b91312c
feat: add solutions to lc problem: No.3696 (#4759)
yanglbme Sep 29, 2025
6fed943
feat: add solutions to lc problem: No.3697 (#4761)
yanglbme Oct 2, 2025
b0861ba
feat: add solutions to lc problem: No.0407 (#4762)
yanglbme Oct 3, 2025
2f1bf40
feat: update solution to lc problem: No.0071 (#4763)
yanglbme Oct 4, 2025
b0d13f4
feat: add solutions to lc problem: No.0417 (#4764)
yanglbme Oct 5, 2025
7a5af2f
feat: add weekly contest 470 (#4765)
yanglbme Oct 5, 2025
a94b7fe
feat: update lc problems (#4766)
yanglbme Oct 6, 2025
70d6eae
feat: add solutions to lc problems: No.3705,3706 (#4767)
yanglbme Oct 6, 2025
fd76dff
feat: add solutions to lc problem: No.3703 (#4768)
yanglbme Oct 6, 2025
a1ad054
feat: add solutions to lc problem: No.1488 (#4769)
yanglbme Oct 7, 2025
995a784
feat: add solutions to lc problem: No.2300 (#4770)
yanglbme Oct 7, 2025
bbbf305
feat: add solutions to lc problem: No.3698 (#4771)
yanglbme Oct 7, 2025
c2d1cd9
feat: add solutions to lc problem: No.3494 (#4773)
yanglbme Oct 8, 2025
8585d28
fix: incorrect regex pattern in problem 3465 solution (#4774)
TanujaSuryawanshi Oct 9, 2025
7fb0b03
feat: add solutions to lc problem: No.3147 (#4775)
yanglbme Oct 9, 2025
16f8bdd
feat: update lc problems (#4776)
yanglbme Oct 9, 2025
24d8fef
feat: add solutions to lc problem: No.3186 (#4777)
yanglbme Oct 10, 2025
45411c3
feat: add solutions to lc problem: No.3187 (#4778)
yanglbme Oct 11, 2025
566b1b1
feat: add biweekly contest 167 (#4779)
yanglbme Oct 12, 2025
781d852
feat: add weekly contest 471 (#4780)
yanglbme Oct 12, 2025
693bc69
feat: add solutions to lc problem: No.3713 (#4781)
yanglbme Oct 12, 2025
1cd7021
feat: add solutions to lc problem: No.3539 (#4783)
yanglbme Oct 12, 2025
cbd4edb
feat: add solutions to lc problem: No.2273 (#4784)
yanglbme Oct 12, 2025
46fb585
feat: add solutions to lc problem: No.2598 (#4785)
yanglbme Oct 12, 2025
2139acd
chore: auto update starcharts
idoocs Oct 13, 2025
0e1ea38
feat: add solutions to lc problems: No.3349,3350 (#4786)
yanglbme Oct 13, 2025
ea00723
feat: add solutions to lc problem: No.3353 (#4787)
yanglbme Oct 14, 2025
cf8d64c
feat: add solutions to lc problem: No.3289 (#4788)
yanglbme Oct 14, 2025
b9568fa
feat: update solutions to lc problem: No.3003 (#4789)
yanglbme Oct 16, 2025
619848c
feat: add solutions to lc problem: No.3397 (#4790)
yanglbme Oct 17, 2025
086ab25
feat: add weekly contest 472 (#4791)
yanglbme Oct 19, 2025
ebeca22
feat: add solutions to lc problems: No.1625,3716 (#4792)
yanglbme Oct 19, 2025
da4e809
feat: add solutions to lc problems: No.3718,3719 (#4793)
yanglbme Oct 20, 2025
0ac3965
feat: add solutions to lc problem: No.3346 (#4794)
yanglbme Oct 20, 2025
7ffcdf6
feat: add solutions to lc problem: No.3347 (#4795)
yanglbme Oct 21, 2025
6445c81
feat: add rust solution to lc problem: No.2048 (#4796)
yanglbme Oct 24, 2025
07bf63c
feat: add solutions to lc problem: No.1716 (#4797)
yanglbme Oct 24, 2025
375d1d2
feat: add weekly contest 473 and biweekly contest 168 (#4798)
yanglbme Oct 26, 2025
fb7fbb0
feat: add solutions to lc problems: No.2128,2130 (#4800)
yanglbme Oct 26, 2025
e711097
feat: add solutions to lc problem: No.3354 (#4801)
yanglbme Oct 27, 2025
1c85b98
feat: add solutions to lc problem: No.2528 (#4802)
yanglbme Oct 27, 2025
f37ecf3
fix: update solution to lc problem: No.0177 (#4803)
waitpersistence Oct 28, 2025
d2b7dbd
feat: add solutions to lc problems: No.3370,3371 (#4804)
yanglbme Oct 28, 2025
3b53270
feat: add solutions to lc problem: No.0759 (#4805)
yanglbme Oct 28, 2025
2b32b0e
feat: add solutions to lc problem: No.0760 (#4806)
yanglbme Oct 29, 2025
198bf6f
feat: add solutions to lc problem: No.1526 (#4808)
yanglbme Oct 29, 2025
a3afb25
feat: add solutions to lc problem: No.1528 (#4809)
yanglbme Oct 30, 2025
1d48b1c
feat: add solutions to lc problem: No.1529 (#4810)
yanglbme Oct 30, 2025
cfa6ed9
docs: update readme guideline
yanglbme Oct 30, 2025
df2de2e
feat: add solutions to lc problem: No.3729 (#4811)
yanglbme Oct 30, 2025
7d7aeba
feat: update lc problems (#4812)
yanglbme Oct 30, 2025
d24b952
feat: add rust solutions to lc problem: No.3289 (#4813)
yanglbme Oct 30, 2025
2e57474
feat: add rust solutions to lc problem: No.3292 (#4814)
yanglbme Oct 30, 2025
9ba8d36
feat: update lc problems (#4815)
yanglbme Oct 31, 2025
caec0e6
chore: auto compress images (#4816)
github-actions[bot] Oct 31, 2025
f07f5be
feat: add rust solutions to lc problems: No.3216~3219 (#4817)
yanglbme Oct 31, 2025
3074e75
feat: add solutions to lc problem: No.2257 (#4818)
yanglbme Nov 2, 2025
2cf001b
feat: add weekly contest 474 (#4819)
yanglbme Nov 2, 2025
4b17605
feat: add solutions to lc problem: No.1578 (#4820)
yanglbme Nov 2, 2025
2b4d71c
feat: update lc problem
yanglbme Nov 3, 2025
b6468cf
feat: add solutions to lc problem: No.3607
yanglbme Nov 5, 2025
8b8c0d0
feat: add solutions to lc problem: No.2528
yanglbme Nov 6, 2025
aeb59a9
chore: auto update starcharts
idoocs Nov 7, 2025
34bfb23
feat: add rust solution to lc problem: No.1611 (#4821)
yanglbme Nov 7, 2025
9a40cd4
feat: add biweekly contest 169 (#4822)
yanglbme Nov 9, 2025
d7799bf
feat: add weekly contest 475 (#4824)
yanglbme Nov 9, 2025
7017b80
feat: update queue methods for node traversal (#4823)
waitpersistence Nov 9, 2025
e980e6c
feat: add solutions to lc problem: No.3234 (#4825)
yanglbme Nov 9, 2025
70b95ef
feat: add solutions to lc problems: No.2655,3228 (#4826)
yanglbme Nov 9, 2025
6ad9c88
feat: add solutions to lc problem: No.3542
yanglbme Nov 9, 2025
40329ab
feat: add rust solution to lc problem: No.3542
yanglbme Nov 9, 2025
bb6566b
feat: add solutions to lc problem: No.2536
yanglbme Nov 9, 2025
77bc6d7
feat: add solutions to lc problem: No.0474 (#4827)
yanglbme Nov 10, 2025
aefb395
feat: add solutions to lc problem: No.3744 (#4828)
yanglbme Nov 11, 2025
3f69ef9
feat: add solutions to lc problem: No.2654 (#4829)
yanglbme Nov 11, 2025
eb3f057
feat: add solutions to lc problem: No.3693 (#4830)
yanglbme Nov 12, 2025
2b46c96
feat: add solutions to lc problem: No.3694 (#4831)
yanglbme Nov 13, 2025
525045b
feat: add solutions to lc problem: No.2536 (#4832)
yanglbme Nov 13, 2025
52dfdb8
feat: add solutions to lc problem: No.3653 (#4833)
yanglbme Nov 13, 2025
69ee924
feat: add solutions to lc problem: No.1297 (#4834)
yanglbme Nov 14, 2025
d2c1447
feat: add rust solution to lc problem: No.3234 (#4835)
yanglbme Nov 14, 2025
126c576
feat: add solutions to lc problem: No.1513 (#4837)
yanglbme Nov 16, 2025
fe167c6
feat: add weekly contest 476 (#4839)
yanglbme Nov 16, 2025
523bd6c
feat: add solutions to lc problem: No.3746 (#4840)
yanglbme Nov 16, 2025
19569f0
feat: add solutions to lc problem: No.3747 (#4841)
yanglbme Nov 16, 2025
4de1b27
feat: add solutions to lc problem: No.3748 (#4842)
yanglbme Nov 16, 2025
46325f9
feat: add rust solution to lc problem: No.1437 (#4843)
yanglbme Nov 16, 2025
7c95fca
feat: add solutions to lc problem: No.3749 (#4844)
yanglbme Nov 17, 2025
4d0817e
feat: add solutions to lc problem: No.3190 (#4845)
yanglbme Nov 17, 2025
65effac
feat: update lc problems (#4846)
yanglbme Nov 17, 2025
1453d58
feat: add solutions to lc problem: No.0717 (#4847)
yanglbme Nov 17, 2025
06d2d77
feat: add solutions to lc problem: No.2435 (#4848)
yanglbme Nov 18, 2025
6a33938
feat: add solutions to lc problem: No.2872 (#4849)
yanglbme Nov 18, 2025
76b81cf
feat: add solutions to lc problem: No.3512 (#4850)
yanglbme Nov 18, 2025
6636372
chore: update deploy workflow
yanglbme Nov 18, 2025
1265d42
feat: add rust solution to lc problem: No.2154 (#4851)
yanglbme Nov 18, 2025
026ac4e
feat: add solutions to lc problem: No.0757 (#4852)
yanglbme Nov 19, 2025
aa8b52a
feat: add solutions to lc problem: No.3381 (#4853)
yanglbme Nov 20, 2025
86225ea
feat: add rust solution to lc problem: No.1930 (#4854)
yanglbme Nov 20, 2025
b7efce6
feat: add solutions to lc problem: No.1497 (#4855)
yanglbme Nov 22, 2025
8f9780d
feat: add biweekly contest 170 (#4856)
yanglbme Nov 23, 2025
132a326
feat: add weekly contest 477 (#4857)
yanglbme Nov 24, 2025
3744fa2
feat: add solutions to lc problem: No.1015 (#4858)
yanglbme Nov 24, 2025
435295b
feat: add rust solution to lc problem: No.1016 (#4859)
yanglbme Nov 24, 2025
8517a63
feat: add solutions to lc problem: No.3758 (#4860)
yanglbme Nov 24, 2025
d026c37
feat: add csharp solution to lc problem: No.2435 (#4862)
yanglbme Nov 25, 2025
f073c05
feat: add rust soluiton to lc problem: No.2436 (#4863)
yanglbme Nov 25, 2025
d822759
feat: add rust solution to lc problem: No.1354 (#4864)
yanglbme Nov 25, 2025
8a39fca
feat: add solutions to lc problem (#4865)
yanglbme Nov 26, 2025
291f917
feat: add solutions to lc problem: No.0845 (#4866)
yanglbme Nov 27, 2025
0e13a6e
feat: add solutions to lc problem: No.3517 (#4867)
yanglbme Nov 29, 2025
72f09c0
feat: add weekly contest 478 (#4868)
yanglbme Nov 30, 2025
667a78b
chore: upgrade workflow
yanglbme Nov 30, 2025
a4696bc
feat: update lc problem
yanglbme Nov 30, 2025
99b081b
feat: add solutions to lc problem: No.2141 (#4869)
yanglbme Nov 30, 2025
966f21c
feat: add solutions to lc problem: No.3763 (#4870)
yanglbme Dec 1, 2025
63178cb
feat: add solutions to lc problem: No.3623 (#4871)
yanglbme Dec 1, 2025
de3e3bd
feat: add solutions to lc problem: No.3625 (#4873)
yanglbme Dec 2, 2025
dd95606
feat: add solutions to lc problem: No.1059 (#4874)
yanglbme Dec 3, 2025
d6db1b7
feat: add rust solutions to lc problems: No.2209,2211 (#4875)
yanglbme Dec 3, 2025
f4e4580
feat: add solutions to lc problem: No.3764 (#4876)
yanglbme Dec 4, 2025
b07f2fe
feat: add solutions to lc problem: No.0955 (#4877)
yanglbme Dec 4, 2025
d07a74c
feat: add rust solution to lc problem: No.3432 (#4878)
yanglbme Dec 4, 2025
b2ba7f6
feat: add solutions to lc problem: No.0961 (#4879)
yanglbme Dec 5, 2025
ae35e0e
feat: add ts solution to lc problem: No.3578 (#4880)
yanglbme Dec 6, 2025
b2c7c21
feat: add solutions to lc problem: No.1810 (#4881)
yanglbme Dec 6, 2025
5e2ef70
feat: add biweekly contest 171 (#4882)
yanglbme Dec 6, 2025
8327ccd
feat: add solutions to lc problem: No.3765 (#4883)
yanglbme Dec 7, 2025
c0e6aef
feat: add solutions to lc problems: No.3766,3767 (#4884)
yanglbme Dec 7, 2025
3fa9cdc
feat: add weekly contest 479 (#4885)
yanglbme Dec 7, 2025
1d36a6d
chore: auto compress images (#4886)
github-actions[bot] Dec 7, 2025
eb30b2d
fix: restrict pull_request_target prettier workflow to same-repo PRs …
barakharyati Dec 7, 2025
0aa24a7
feat: add solutions to lc problem: No.3770 (#4890)
yanglbme Dec 7, 2025
8cf8a06
chore: auto compress images (#4889)
github-actions[bot] Dec 8, 2025
cee45f2
feat: add solutions to lc problem: No.3773 (#4891)
yanglbme Dec 8, 2025
7b7af5c
feat: add rust solution to lc problem: No.3583 (#4892)
yanglbme Dec 8, 2025
82a55ad
feat: update solutions to lc problem: No.0200 (#4893)
yanglbme Dec 8, 2025
07096cc
feat: add sql solution to lc problem: No.601 (#4807)
hhnguyen-20 Dec 8, 2025
5d1183a
chore: auto update starcharts
idoocs Dec 9, 2025
ef17734
feat: add csharp solution to lc problem: No.3577 (#4894)
yanglbme Dec 9, 2025
2fa413e
chore: update deps (#4895)
yanglbme Dec 9, 2025
62008e5
feat: add rust solution to lc problem: No.3531 (#4896)
yanglbme Dec 10, 2025
60c4ca0
feat: add solutions to lc problem: No.3562 (#4897)
yanglbme Dec 11, 2025
d3ec0b0
feat: add rust solution to lc problem: No.3433 (#4898)
yanglbme Dec 11, 2025
a683485
feat: add rust solution to lc problem: No.3606 (#4899)
yanglbme Dec 13, 2025
f47e239
feat: add rust solution to lc problem: No.2147 (#4900)
yanglbme Dec 14, 2025
299056a
feat: add weekly contest 480 (#4901)
yanglbme Dec 14, 2025
1b5bafc
feat: add solutions to lc problem: No.3777 (#4902)
yanglbme Dec 14, 2025
a0239dd
feat: add solution to lc problem: No.3562 (#4903)
yanglbme Dec 14, 2025
2316b01
feat: add solutions to lc problem: No.3608 (#4904)
yanglbme Dec 14, 2025
21a6b29
feat: add solutions to lc problem: No.2110 (#4905)
yanglbme Dec 14, 2025
d6298fb
feat: update lc problems (#4906)
yanglbme Dec 15, 2025
ffe44a8
feat: add rust solution to lc problem: No.3778 (#4907)
yanglbme Dec 15, 2025
5ac81fb
feat: add solutions to lc problems: No.3573,3574 (#4908)
yanglbme Dec 16, 2025
aafcb19
feat: add solutions to lc problem: No.3652 (#4909)
yanglbme Dec 17, 2025
0a2deec
feat: add solutions to lc problems: No.3714,3717 (#4910)
yanglbme Dec 18, 2025
9955fc2
feat: add solutions to lc problem: No.2092 (#4911)
yanglbme Dec 18, 2025
1186fef
feat: add cs solution to lc problem: No.0944 (#4912)
yanglbme Dec 19, 2025
936fc6e
feat: add weekly contest 481 & biweekly contest 172 (#4913)
yanglbme Dec 21, 2025
19bc72f
chore: auto compress images (#4914)
github-actions[bot] Dec 21, 2025
802f209
chore: auto compress images (#4915)
github-actions[bot] Dec 21, 2025
21ac9a1
chore: auto compress images (#4916)
github-actions[bot] Dec 21, 2025
368986b
feat: add solutions to lc problem: No.0756 (#4917)
yanglbme Dec 21, 2025
ad034a8
feat: add solutions to lc problems: No.0962~0964 (#4920)
yanglbme Dec 21, 2025
e61fd3e
chore: auto compress images (#4919)
github-actions[bot] Dec 22, 2025
3d9a231
chore: update prettier workflow to use pnpm instead of npm (#4922)
Copilot Dec 22, 2025
74677bd
feat: add rust solution to lc problem: No.2054 (#4923)
yanglbme Dec 22, 2025
c764ee4
feat: add solutions to lc problem: No.3787 (#4924)
yanglbme Dec 23, 2025
9cc921e
feat: add solutions to lc problem: No.3074 (#4925)
yanglbme Dec 23, 2025
2d6d2c9
feat: add solutions to lc problem: No.2402 (#4927)
yanglbme Dec 24, 2025
3c3f497
fix: update ts solution to lc problem: No.1631 (#4928)
yanglbme Dec 25, 2025
730dace
fix: update ts solution to lc problem: No.0743 (#4929)
yanglbme Dec 25, 2025
9712bd1
fix: update ts solution to lc problem: No.2462 (#4930)
yanglbme Dec 25, 2025
d7fecc2
fix: update ts solutions to lc problems (#4931)
yanglbme Dec 25, 2025
0d460e2
feat: add cs solution to lc problem: No.2483 (#4932)
yanglbme Dec 25, 2025
ff2e32f
feat: add rust solution to lc problem: No.2208 (#4933)
yanglbme Dec 26, 2025
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
The table of contents is too big for display.
Diff view
Diff view
  •  
  •  
  •  
The diff you're trying to view is too large. We only load the first 3000 changed files.
84 changes: 64 additions & 20 deletions .github/workflows/deploy.yml
Original file line number Diff line number Diff line change
Expand Up @@ -15,72 +15,116 @@ on:
- basic/**

concurrency:
group: ${{github.workflow}} - ${{github.ref}}
group: ${{ github.workflow }} - ${{ github.ref }}
cancel-in-progress: true

jobs:
build:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v4
- uses: actions/checkout@v4
- name: Checkout main branch
uses: actions/checkout@v4
with:
fetch-depth: 0

- name: Checkout docs branch
uses: actions/checkout@v4
with:
ref: docs
path: mkdocs
- run: |
mv -f mkdocs/* .
fetch-depth: 0

- name: Sync docs branch content
run: |
rsync -a --remove-source-files --exclude='.git' mkdocs/ ./
rm -rf mkdocs
mv solution/CONTEST_README.md docs/contest.md
mv solution/CONTEST_README_EN.md docs-en/contest.md

- name: Configure Git Credentials
run: |
git config user.name github-actions[bot]
git config user.email 41898282+github-actions[bot]@users.noreply.github.com
git config --global user.name github-actions[bot]
git config --global user.email 41898282+github-actions[bot]@users.noreply.github.com

- uses: actions/setup-python@v5
- name: Setup Python
uses: actions/setup-python@v5
with:
python-version: 3.x

- run: echo "cache_id=$(date --utc '+%V')" >> $GITHUB_ENV
- name: Restore pip cache
uses: actions/cache@v4
with:
path: ~/.cache/pip
key: ${{ runner.os }}-pip-${{ hashFiles('**/requirements.txt') }}
restore-keys: |
${{ runner.os }}-pip-

- uses: actions/cache@v4
- name: Restore mkdocs-material cache
uses: actions/cache@v4
with:
key: mkdocs-material-${{ env.cache_id }}
path: .cache
key: mkdocs-material-${{ env.cache_id }}
restore-keys: |
mkdocs-material-

- name: Install dependencies
run: |
python3 -m pip install --upgrade pip
python3 -m pip install -r requirements.txt
python3 -m pip install "mkdocs-material[imaging]"
sudo apt-get install pngquant
- name: Set MKDOCS_API_KEYS environment variable
sudo apt-get install -y pngquant

- name: Set MKDOCS_API_KEYS
run: echo "MKDOCS_API_KEYS=${{ secrets.MKDOCS_API_KEYS }}" >> $GITHUB_ENV

- run: |
- name: Build site
run: |
python3 main.py
mkdocs build -f mkdocs.yml
mkdocs build -f mkdocs-en.yml

- name: Generate CNAME file
- name: Generate CNAME
run: echo "leetcode.doocs.org" > ./site/CNAME

- name: Upload artifact
- name: Commit committer cache to docs branch
if: github.ref == 'refs/heads/main'
env:
GH_REPO: ${{ github.repository }}
GH_TOKEN: ${{ secrets.GITHUB_TOKEN }}
run: |
CACHE_FILE=".git-committers-cache.json"
if [[ ! -f "$CACHE_FILE" ]]; then
echo "Cache file not found; skip commit."
exit 0
fi

echo "Cloning docs branch ..."
git clone --depth 1 --branch docs "https://x-access-token:${GH_TOKEN}@github.com/${GH_REPO}.git" docs-cache
cp "$CACHE_FILE" docs-cache/

cd docs-cache

git config user.name github-actions[bot]
git config user.email 41898282+github-actions[bot]@users.noreply.github.com

git add .git-committers-cache.json
git commit -m "chore: update committer cache [skip ci]" || echo "No changes to commit"
git push origin docs

- name: Upload to GitHub Pages
uses: actions/upload-pages-artifact@v3
with:
path: ./site
path: site

deploy:
needs: build
runs-on: ubuntu-latest
permissions:
pages: write
id-token: write
environment:
name: github_pages
url: ${{ steps.deployment.outputs.page_url }}
runs-on: ubuntu-latest
steps:
- name: Deploy to GitHub Pages
id: deployment
Expand Down
14 changes: 12 additions & 2 deletions .github/workflows/prettier.yml
Original file line number Diff line number Diff line change
Expand Up @@ -10,6 +10,12 @@ concurrency:

jobs:
format:
# ---------------------------------------------------------
# SAFETY CHECK:
# Only run for PRs from the SAME repository.
# Fork PRs are skipped entirely to prevent RCE via pnpm install.
# ---------------------------------------------------------
if: ${{ github.event.pull_request.head.repo.fork == false }}
permissions:
contents: write
runs-on: ubuntu-latest
Expand All @@ -24,15 +30,19 @@ jobs:
uses: actions/setup-node@v4
with:
node-version: 18
- name: Install pnpm
uses: pnpm/action-setup@v4
with:
version: 10.25.0
- name: Install Dependencies
run: npm install
run: pnpm install
- name: Run prettier
run: |
git config --global core.quotepath off
changed_files=$(git diff --name-only "${{ github.event.pull_request.base.sha }}" | grep -E '\.js$|\.ts$|\.php$|\.sql$|\.md$' || true)
if [ -n "$changed_files" ]; then
echo "Running prettier on the changed files"
echo "$changed_files" | xargs -d '\n' npx prettier --write
echo "$changed_files" | xargs -d '\n' pnpm exec prettier --write
else
echo "No matching files to run prettier on."
fi
Expand Down
11 changes: 9 additions & 2 deletions .gitignore
Original file line number Diff line number Diff line change
Expand Up @@ -3,10 +3,17 @@
.vscode
.temp
.vitepress
.cache
*.iml
__pycache__
/node_modules
/solution/result.json
/solution/__pycache__
/solution/.env
.cache
!.cache/plugin/
!.cache/plugin/git-committers/
!.cache/plugin/git-committers/page-authors.json

# pnpm
pnpm-lock.yaml
.pnpm-store/
.pnpm-debug.log
Empty file removed .husky/_/husky.sh
Empty file.
5 changes: 2 additions & 3 deletions .husky/commit-msg
Original file line number Diff line number Diff line change
@@ -1,3 +1,2 @@
#!/bin/sh

npx --no -- commitlint --edit $1
#!/usr/bin/env sh
pnpm exec commitlint --edit $1
5 changes: 2 additions & 3 deletions .husky/pre-commit
Original file line number Diff line number Diff line change
@@ -1,3 +1,2 @@
#!/bin/sh

npx lint-staged --allow-empty $1
#!/usr/bin/env sh
pnpm exec lint-staged --allow-empty $1
26 changes: 13 additions & 13 deletions CODE_OF_CONDUCT.md
Original file line number Diff line number Diff line change
Expand Up @@ -14,22 +14,22 @@ appearance, race, religion, or sexual identity and orientation.
Examples of behavior that contributes to creating a positive environment
include:

- Using welcoming and inclusive language
- Being respectful of differing viewpoints and experiences
- Gracefully accepting constructive criticism
- Focusing on what is best for the community
- Showing empathy towards other community members
- Using welcoming and inclusive language
- Being respectful of differing viewpoints and experiences
- Gracefully accepting constructive criticism
- Focusing on what is best for the community
- Showing empathy towards other community members

Examples of unacceptable behavior by participants include:

- The use of sexualized language or imagery and unwelcome sexual attention or
advances
- Trolling, insulting/derogatory comments, and personal or political attacks
- Public or private harassment
- Publishing others' private information, such as a physical or electronic
address, without explicit permission
- Other conduct which could reasonably be considered inappropriate in a
professional setting
- The use of sexualized language or imagery and unwelcome sexual attention or
advances
- Trolling, insulting/derogatory comments, and personal or political attacks
- Public or private harassment
- Publishing others' private information, such as a physical or electronic
address, without explicit permission
- Other conduct which could reasonably be considered inappropriate in a
professional setting

## Our Responsibilities

Expand Down
Loading