Skip to content
Open
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
3502 commits
Select commit Hold shift + click to select a range
f352441
chore: auto compress images (#4479)
github-actions[bot] Jun 11, 2025
2f33e2a
docs: update readme guideline (#4480)
yanglbme Jun 11, 2025
dc357fd
feat: add solutions to lc problem: No.3579 (#4481)
yanglbme Jun 11, 2025
22c6a2b
chore: auto update starcharts
idoocs Jun 11, 2025
e51cd08
feat: add rust solution to lc problem: No.3579 (#4482)
yanglbme Jun 11, 2025
128977c
feat: add solutions to lc problem: No.3423 (#4483)
yanglbme Jun 11, 2025
102ce22
feat: add rust solutions to lc problems: No.3573,3577,3578 (#4484)
yanglbme Jun 12, 2025
a1a4b07
feat: add solutions to lc problem: No.3574 (#4486)
yanglbme Jun 12, 2025
2d63f55
feat: add solutions to lc problem: No.0281 (#4485)
taoyq1988 Jun 12, 2025
2976139
feat: add solutions to lc problem: No.2040 (#4487)
yanglbme Jun 12, 2025
80d9354
feat: add solutions to lc problem: No.3424 (#4488)
yanglbme Jun 12, 2025
6cf042d
feat: add solutions to lc problem: No.2616 (#4489)
yanglbme Jun 12, 2025
370d053
feat: add solutions to lc problem: No.2614 (#4490)
yanglbme Jun 12, 2025
0c33e0b
feat: add solutions to lc problem: No.2566 (#4492)
yanglbme Jun 14, 2025
40ca1e8
fix: correct case-sensitivity issue in lc problem No.1517 (#4495)
yanglbme Jun 15, 2025
cc5ff74
feat: add solutions to lc problem: No.1432 (#4496)
yanglbme Jun 15, 2025
add0319
feat: add solutions to lc problems: No.3581,3582 (#4497)
yanglbme Jun 15, 2025
e68e1fd
feat: add new lc problems (#4498)
yanglbme Jun 16, 2025
53d1406
feat: add solutions to lc problem: No.3586 (#4499)
yanglbme Jun 16, 2025
43a2a84
feat: add solutions to lc problem: No.3584 (#4500)
yanglbme Jun 16, 2025
589c8db
feat: add solutions to lc problem: No.3581 (#4501)
yanglbme Jun 16, 2025
2c123b1
feat: add rust solutions to lc problems: No.2894,3581 (#4502)
yanglbme Jun 16, 2025
0bfadf8
feat: add solutions to lc problem: No.3405 (#4503)
yanglbme Jun 16, 2025
9de9346
feat: update lc problems (#4504)
yanglbme Jun 16, 2025
ac79b4f
feat: add rust solution to lc problem: No.2967 (#4505)
yanglbme Jun 17, 2025
590343f
feat: add c solutions to lc problems: No.0008,0009 (#4506)
pranjal030404 Jun 18, 2025
0fcbf87
feat: add solutions to lc problem: No.2294 (#4507)
yanglbme Jun 18, 2025
fe3eeb4
feat: add c solutions to lc problems: No.0010,0011 (#4508)
pranjal030404 Jun 19, 2025
9dcd740
feat: add rust solution to lc problem: No.3443 (#4509)
yanglbme Jun 19, 2025
6d918ed
feat: add php solution to lc problem: No.0010 (#4510)
yanglbme Jun 19, 2025
28cace0
feat: add c solutions to lc problems: No.0012,0013 (#4511)
pranjal030404 Jun 20, 2025
76cb00e
feat: add solutions to lc problem: No.3085 (#4512)
yanglbme Jun 20, 2025
e59e051
feat: add biweekly contest 159 (#4513)
yanglbme Jun 22, 2025
5f828dc
feat: add solutions to lc problem: No.3587 (#4514)
yanglbme Jun 22, 2025
0960310
feat: add weekly contest 455 (#4515)
yanglbme Jun 22, 2025
a7a652d
feat: add solutions to lc problem: No.1751 (#4516)
yanglbme Jun 22, 2025
186c8d3
feat: add solutions to lc problem: No.2081 (#4517)
yanglbme Jun 22, 2025
42061ce
chore: auto update starcharts
idoocs Jun 23, 2025
2bc4cdf
feat: add python solution to lc problem: No.3590 (#4518)
Ishanssr Jun 23, 2025
18a93fa
feat: add rust solutions to lc problem: No.2200 (#4520)
yanglbme Jun 23, 2025
05ffb40
feat: add c solutions to lc problems: No.0014,0015 (#4519)
pranjal030404 Jun 24, 2025
ac084bb
feat: add rust solution to lc problem: No.2040 (#4521)
yanglbme Jun 24, 2025
90f466e
feat: add new lc problem (#4522)
yanglbme Jun 24, 2025
5ded9f3
feat: update lc problems (#4523)
yanglbme Jun 25, 2025
6ef2369
feat: add rust solution to lc problem: No.2311 (#4524)
yanglbme Jun 25, 2025
9a9eb75
feat: add rust solution to lc problem: No.3330 (#4525)
yanglbme Jun 25, 2025
8c4ea1f
feat: add solutions to lc problem: No.2014 (#4526)
yanglbme Jun 26, 2025
56b3edb
feat: add solutions to lc problem: No.2099 (#4527)
yanglbme Jun 27, 2025
5ea879f
chore: use setAll func to initialize array in Java solution (#4528)
yanglbme Jun 27, 2025
74b8a69
feat: add solutions to lc problem: No.3696 (#4529)
yanglbme Jun 28, 2025
0bf2e51
feat: add rust solution to lc problem: No.3307 (#4530)
yanglbme Jun 28, 2025
bafd167
feat: add solutions to lc problem: No.1498 (#4531)
yanglbme Jun 29, 2025
a358d8f
feat: add weekly contest 456 (#4532)
yanglbme Jun 29, 2025
fe2396a
feat: add solutions to lc problem: No.3597 (#4534)
yanglbme Jun 29, 2025
4ae8f79
feat: add solutions to lc problem: No.3598 (#4535)
yanglbme Jun 29, 2025
e1541b3
feat: add solutions to lc problem: No.3599 (#4536)
yanglbme Jun 29, 2025
5b01d2f
feat: add rust solution to lc problem: No.0594 (#4537)
yanglbme Jun 29, 2025
13f8867
feat: add new lc problems (#4538)
yanglbme Jul 1, 2025
10461e4
feat: update lc problems (#4539)
yanglbme Jul 1, 2025
e8fc106
feat: add solutions to lc problem: No.3333 (#4540)
yanglbme Jul 1, 2025
11b9cba
feat: add solutions to lc problem: No.3333 (#4541)
yanglbme Jul 1, 2025
280a4b6
feat: add rust solution to lc problem: No.3304 (#4542)
yanglbme Jul 2, 2025
c692eef
feat: add solutions to lc problem: No.3601 (#4543)
yanglbme Jul 2, 2025
db8cc79
feat: add solutions to lc problem: No.3307 (#4545)
yanglbme Jul 3, 2025
e63bbb4
feat: add c solutions to lc problems: No.0016,0017 (#4544)
pranjal030404 Jul 3, 2025
d4b3ea3
feat: add solutions to lc problem: No.3439 (#4546)
yanglbme Jul 4, 2025
b3ce308
feat: add solutions to lc problem: No.1394 (#4547)
yanglbme Jul 4, 2025
9ab3cee
feat: add rust solution to lc problem: No.1865 (#4550)
yanglbme Jul 6, 2025
b7d00fe
feat: add biweekly contest 160 (#4551)
yanglbme Jul 6, 2025
2b5348d
chore: auto compress images (#4552)
github-actions[bot] Jul 6, 2025
82a0dd5
feat: add weekly contest 457 (#4553)
yanglbme Jul 6, 2025
b2220d0
feat: add solutions to lc problem: No.1353 (#4554)
yanglbme Jul 6, 2025
0f5ed3f
feat: add solutions to lc problem: No.3602 (#4555)
yanglbme Jul 6, 2025
15c59ee
chore: auto update starcharts
idoocs Jul 7, 2025
55d4ea1
feat: add rust solution to lc problem: No.1751 (#4556)
yanglbme Jul 7, 2025
d7fddea
feat: add solutions to lc problem: No.3606 (#4558)
yanglbme Jul 8, 2025
7ad3c3b
feat: add solutions to lc problem: No.3440 (#4559)
yanglbme Jul 10, 2025
3e49812
feat: add rust solution to lc problem: No.3169 (#4560)
yanglbme Jul 10, 2025
a70fbdb
feat: add solutions to lc problem: No.3611 (#4561)
yanglbme Jul 11, 2025
68ab63d
feat: add solutions to lc problem: No.1900 (#4562)
yanglbme Jul 12, 2025
b61fed3
chore: update lc problems (#4563)
yanglbme Jul 12, 2025
3e0f23e
feat: add rust solution to lc problem: No.2410 (#4564)
yanglbme Jul 12, 2025
3c5a7b2
feat: add weekly contest 458 (#4565)
yanglbme Jul 13, 2025
e9531d1
feat: add solutions to lc problems: No.3612,3613 (#4566)
yanglbme Jul 13, 2025
5c30065
feat: add solutions to lc problem: No.3616 (#4567)
yanglbme Jul 13, 2025
a666697
feat: add solutions to lc problem: No.1290 (#4568)
yanglbme Jul 13, 2025
6f7b0b3
feat: add solutions to lc problem: No.3136 (#4569)
yanglbme Jul 14, 2025
97d7b82
feat: add solutions to lc problem: No.3617 (#4570)
yanglbme Jul 14, 2025
47cb088
feat: add solutions to lc problems: No.3201,3202 (#4571)
yanglbme Jul 15, 2025
4db3791
feat: add solutions to lc problem: No.3203 (#4572)
yanglbme Jul 16, 2025
cf8049e
feat: add solutions to lc problem: No.2322 (#4573)
yanglbme Jul 17, 2025
5a94bc4
feat: add solutions to lc problem: No.2163 (#4574)
yanglbme Jul 17, 2025
de776ba
fix: update solutions to lc problems: No.1046,1354 (#4575)
yanglbme Jul 17, 2025
39c895b
feat: add solutions to lc problem: No.1233 (#4576)
yanglbme Jul 18, 2025
1b53d4d
fix: update solutions to lc problems: No.0630,0973,1962,2856 (#4577)
yanglbme Jul 18, 2025
c10a2f1
feat: add new lc problems (#4579)
yanglbme Jul 20, 2025
d369cf9
feat: add solution for deleting duplicate folders in a file system (#…
Speccy-Rom Jul 20, 2025
ed31865
feat: add solutions to lc problem: No.1948 (#4582)
yanglbme Jul 20, 2025
8c7fd24
feat: add solutions to lc problem: No.3618 (#4583)
yanglbme Jul 20, 2025
0fe1388
feat: add solutions to lc problem: No.3619 (#4586)
yanglbme Jul 20, 2025
2604b21
feat: update solutions to lc problem: No.1957 (#4587)
yanglbme Jul 20, 2025
60245f5
feat: add solutions to lc problem: No.3622 (#4588)
yanglbme Jul 20, 2025
f4c6fcf
feat: add rust solutions to lc problem: No.1695 (#4590)
yanglbme Jul 21, 2025
7cff981
feat: add solutions to lc problem: No.1960 (#4585)
samarthswami1016 Jul 22, 2025
246dbd3
feat: add solutions to lc problem: No.1717 (#4591)
yanglbme Jul 22, 2025
5464fea
chore: auto update starcharts
idoocs Jul 23, 2025
2dcb224
feat: add solution to lc problem: No.2322 (#4592)
yanglbme Jul 23, 2025
65f3542
feat: update lc problems (#4593)
yanglbme Jul 23, 2025
6569141
feat: add solutions to lc problems: No.3487,3488 (#4594)
yanglbme Jul 24, 2025
57d33e8
feat: add solutions to lc problem: No.3626 (#4596)
yanglbme Jul 25, 2025
721ac60
feat: add solutions to lc problem: No.3480 (#4598)
yanglbme Jul 26, 2025
1838ba4
feat: update lc problems (#4599)
yanglbme Jul 26, 2025
02c8054
feat: add weekly contest 460 (#4600)
yanglbme Jul 27, 2025
1455c9a
feat: add solutions to lc problem: No.3628 (#4601)
yanglbme Jul 27, 2025
fb3cfb3
feat: add solutions to lc problem: No.2044 (#4602)
yanglbme Jul 27, 2025
2aae650
feat: add solutions to lc problem: No.2411 (#4603)
yanglbme Jul 28, 2025
5058ba8
chore: update lc problems (#4604)
yanglbme Jul 28, 2025
ee8884b
feat: add solutions to lc problem: No.2419 (#4605)
yanglbme Jul 29, 2025
c38b9e2
feat: add solutions to lc problem: No.2683 (#4607)
yanglbme Jul 30, 2025
e929b22
feat: add solutions to lc problem: No.0118 (#4608)
yanglbme Jul 31, 2025
e2c8c36
feat: update lc problems (#4609)
yanglbme Jul 31, 2025
89adcfc
feat: add solutions to lc problem: No.2561 (#4610)
yanglbme Aug 1, 2025
3257445
feat: add solutions to lc problem: No.3631 (#4611)
yanglbme Aug 2, 2025
7bb3abb
feat: update lc problems (#4613)
yanglbme Aug 3, 2025
182fba7
feat: add solutions to lc problem: No.2106 (#4614)
yanglbme Aug 3, 2025
02f5e66
feat: add solutions to lc problems: No.3633,3635 (#4615)
yanglbme Aug 3, 2025
fa0b9d1
feat: add solutions to lc problem: No.3634 (#4616)
yanglbme Aug 3, 2025
b529cef
feat: add new lc problems (#4617)
yanglbme Aug 3, 2025
92eac10
feat: add solutions to lc problem: No.3637 (#4618)
yanglbme Aug 3, 2025
68291ca
feat: add solutions to lc problem: No.3638 (#4619)
yanglbme Aug 3, 2025
bbe24c7
feat: add solutions to lc problem: No.0904 (#4620)
yanglbme Aug 3, 2025
5920db5
feat: add solutions to lc problem: No.3479 (#4621)
yanglbme Aug 4, 2025
1191ada
feat: add solutions to lc problem: No.3479 (#4622)
yanglbme Aug 5, 2025
d469b75
feat: add solutions to lc problem: No.2787 (#4623)
yanglbme Aug 5, 2025
9ef585e
feat: add solutions to lc problem: No.3363 (#4625)
yanglbme Aug 6, 2025
0c57289
feat: add solutions to lc problem: No.0808 (#4627)
yanglbme Aug 7, 2025
9b8206a
feat: add solutions to lc problem: No.3641 (#4628)
yanglbme Aug 8, 2025
5e77929
chore: auto update starcharts
idoocs Aug 8, 2025
28073f8
feat: add solutions to lc problem: No.0231 (#4631)
yanglbme Aug 8, 2025
8a1b741
feat: add solutions to lc problem: No.0869 (#4633)
yanglbme Aug 10, 2025
ac74122
feat: add new lc problems (#4634)
yanglbme Aug 10, 2025
044942b
feat: add solutions to lc problems: No.3642,3643 (#4635)
yanglbme Aug 10, 2025
2a2c692
feat: add solutions to lc problem: No.3644 (#4638)
yanglbme Aug 10, 2025
09c0480
feat: add solutions to lc problem: No.3645 (#4639)
yanglbme Aug 10, 2025
f4b1a74
feat: add solutions to lc problem: No.2438 (#4640)
yanglbme Aug 10, 2025
7e49d44
chore: auto update starcharts
idoocs Aug 11, 2025
411eafb
feat: add solutions to lc problems: No.2787,3647 (#4641)
yanglbme Aug 11, 2025
9b0c8ad
feat: add solutions to lc problem: No.0326 (#4643)
yanglbme Aug 12, 2025
7ead208
feat: add solutions to lc problem: No.1501 (#4644)
yanglbme Aug 13, 2025
c9f8c43
feat: add solutions to lc problem: No.1780 (#4645)
yanglbme Aug 13, 2025
7564363
feat: add solutions to lc problem: No.1781 (#4646)
yanglbme Aug 14, 2025
6c3f9f5
feat: add solutions to lc problem: No.0342 (#4647)
yanglbme Aug 14, 2025
bb5e2e6
feat: add solutions to lc problem: No.1323 (#4648)
yanglbme Aug 16, 2025
30b7bfe
chore: auto update starcharts
idoocs Aug 16, 2025
7187d92
feat: add solutions to lc problem: No.0837 (#4649)
yanglbme Aug 17, 2025
8dcc54d
feat: add new lc problems (#4650)
yanglbme Aug 17, 2025
535b4fd
feat: add new lc problems (#4652)
yanglbme Aug 17, 2025
b7fad5e
feat: add rust solution to lc problem: No.0679 (#4654)
yanglbme Aug 18, 2025
e2331ba
feat: add solutions to lc problem: No.2348 (#4655)
yanglbme Aug 19, 2025
95114cb
feat: add solutions to lc problem: No.1277 (#4657)
yanglbme Aug 20, 2025
ac1f60f
feat: add solutions to lc problem: No.1504 (#4658)
yanglbme Aug 21, 2025
1f006bc
feat: add solutions to lc problems: No.3195,3197 (#4659)
yanglbme Aug 22, 2025
ff2df3f
feat: add csharp solution to lc problem: No.3197 (#4660)
yanglbme Aug 22, 2025
42d4a22
feat: add solutions to lc problem: No.1493 (#4661)
yanglbme Aug 24, 2025
c49b62c
feat: add weekly contest 464 (#4662)
yanglbme Aug 24, 2025
3637d4b
feat: add solutions to lc problem: No.3660 (#4663)
yanglbme Aug 24, 2025
cf894ad
feat: add solutions to lc problem: No.3661 (#4664)
yanglbme Aug 24, 2025
94174b4
feat: add solution to lc problem: No.3657 (#4665)
yanglbme Aug 24, 2025
58e70ed
feat: add solutions to lc problem: No.0498 (#4666)
yanglbme Aug 24, 2025
4bc957d
feat: add solutions to lc problem: No.3459 (#4667)
yanglbme Aug 25, 2025
ee147f7
feat: add new lc problems (#4668)
yanglbme Aug 25, 2025
1eb9f7f
feat: add solutions to lc problem: No.3000 (#4669)
yanglbme Aug 26, 2025
0f30fe5
feat: update lc problems (#4670)
yanglbme Aug 26, 2025
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)
jumayevgadam 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)
jumayevgadam 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
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.
22 changes: 22 additions & 0 deletions .editorconfig
Original file line number Diff line number Diff line change
@@ -0,0 +1,22 @@
# REF: https://spec.editorconfig.org/#supported-pairs

root = true

[*]
indent_style = space
indent_size = 4
# tab_width = 4
# end_of_line = lf
charset = utf-8
# spelling_language = en-US
trim_trailing_whitespace = true
insert_final_newline = true

[*.{md}]
trim_trailing_whitespace = false

[*.{go}]
indent_style = tab

[*.{yml,yaml}]
indent_size = 2
1 change: 1 addition & 0 deletions .github/pull_request_template.md
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@

35 changes: 35 additions & 0 deletions .github/workflows/black-lint.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,35 @@
name: black-linter

on:
push:
paths:
- solution/**
- lcs/**
- lcp/**
- lcof2/**
- lcof/**
- lcci/**
- basic/**
pull_request:
paths:
- solution/**
- lcs/**
- lcp/**
- lcof2/**
- lcof/**
- lcci/**
- basic/**

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

jobs:
build:
runs-on: ubuntu-latest

steps:
- uses: actions/checkout@v4
- uses: jpetrucciani/[email protected]
with:
black_flags: '-S'
37 changes: 37 additions & 0 deletions .github/workflows/clang-format-lint.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,37 @@
name: clang-format-linter

on:
push:
paths:
- solution/**
- lcs/**
- lcp/**
- lcof2/**
- lcof/**
- lcci/**
- basic/**
pull_request:
paths:
- solution/**
- lcs/**
- lcp/**
- lcof2/**
- lcof/**
- lcci/**
- basic/**

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

jobs:
build:
runs-on: ubuntu-latest

steps:
- uses: actions/checkout@v4
- uses: DoozyX/[email protected]
with:
source: '.'
extensions: 'c,cpp,java'
clangFormatVersion: 16
59 changes: 39 additions & 20 deletions .github/workflows/compress.yml
Original file line number Diff line number Diff line change
@@ -1,36 +1,55 @@
name: compress-images

on:
schedule:
- cron: "0 0 * * 3"
pull_request:
paths:
- '**.jpg'
- '**.jpeg'
- '**.png'
- '**.webp'
push:
branches:
- main
paths:
- '**.jpg'
- '**.jpeg'
- '**.png'
- '**.webp'
workflow_dispatch:
schedule:
- cron: '00 23 * * 0'

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

jobs:
compress:
build:
name: calibreapp/image-actions
runs-on: ubuntu-latest
if: github.repository == 'doocs/leetcode'
# Only run on main repo on and PRs that match the main repo.
if: |
github.repository == 'doocs/leetcode' &&
(github.event_name != 'pull_request' ||
github.event.pull_request.head.repo.full_name == github.repository)
steps:
- name: Checkout Branch
uses: actions/checkout@v2

uses: actions/checkout@v4
- name: Compress Images
id: calibre
uses: calibreapp/image-actions@main
with:
githubToken: ${{ secrets.ACTION_TOKEN }}
compressOnly: true

- name: Commit Files
if: |
steps.calibre.outputs.markdown != ''
run: |
git config --local user.email "[email protected]"
git config --local user.name "yanglbme"
git commit -m "chore: auto compress images" -a

- name: Push Changes
githubToken: ${{ secrets.DOOCS_BOT_ACTION_TOKEN }}
# For non-Pull Requests, run in compressOnly mode and we'll PR after.
compressOnly: ${{ github.event_name != 'pull_request' }}
- name: Create Pull Request
# If it's not a Pull Request then commit any changes as a new PR.
if: |
github.event_name != 'pull_request' &&
steps.calibre.outputs.markdown != ''
uses: ad-m/github-push-action@master
uses: peter-evans/create-pull-request@v4
with:
github_token: ${{ secrets.ACTION_TOKEN }}
title: 'chore: auto compress images'
branch-suffix: timestamp
commit-message: 'chore: auto compress images'
body: ${{ steps.calibre.outputs.markdown }}
131 changes: 131 additions & 0 deletions .github/workflows/deploy.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,131 @@
name: deploy

on:
workflow_dispatch:
push:
branches:
- main
paths:
- solution/**
- lcs/**
- lcp/**
- lcof2/**
- lcof/**
- lcci/**
- basic/**

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

jobs:
build:
runs-on: ubuntu-latest
steps:
- 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
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 --global user.name github-actions[bot]
git config --global user.email 41898282+github-actions[bot]@users.noreply.github.com

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

- name: Restore pip cache
uses: actions/cache@v4
with:
path: ~/.cache/pip
key: ${{ runner.os }}-pip-${{ hashFiles('**/requirements.txt') }}
restore-keys: |
${{ runner.os }}-pip-

- name: Restore mkdocs-material cache
uses: actions/cache@v4
with:
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 -y pngquant

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

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

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

- 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 artifact
uses: actions/upload-pages-artifact@v3
with:
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 }}
steps:
- name: Deploy to GitHub Pages
id: deployment
uses: actions/deploy-pages@v4
25 changes: 25 additions & 0 deletions .github/workflows/pr-add-label.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,25 @@
name: pr-add-label

on:
pull_request_target:
types: [opened, edited, reopened, synchronize]

jobs:
add-label:
permissions:
contents: read
pull-requests: write
runs-on: ubuntu-latest
if: github.repository == 'doocs/leetcode'
steps:
- name: Check PR number
id: pr_number
run: echo "PR_NUMBER=${{ github.event.pull_request.number }}" >> $GITHUB_ENV

- name: Run add-label Action
uses: actionv/pr-label-action@master
with:
github_token: ${{ secrets.DOOCS_BOT_ACTION_TOKEN }}
pr_number: ${{ env.PR_NUMBER }}
organize_name: "doocs"
team_name: "leetcode-algorithm"
Loading