Skip to content

[pull] main from doocs:main #489

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Open
wants to merge 263 commits into
base: main
Choose a base branch
from
Open
Show file tree
Hide file tree
Changes from 1 commit
Commits
Show all changes
263 commits
Select commit Hold shift + click to select a range
7fb7d02
feat: add new lc problems (#4379)
yanglbme Apr 30, 2025
7d76370
feat: add solutions to lc problem: No.3528 (#4380)
yanglbme Apr 30, 2025
39eaf17
feat: add solutions to lc problem: No.3527 (#4381)
yanglbme May 1, 2025
562547b
feat: add solutions to lc problem: No.2071 (#4382)
yanglbme May 1, 2025
bed93c3
feat: add solutions to lc problem: No.0838 (#4383)
yanglbme May 2, 2025
1bf0fe3
feat: add solutions to lc problem: No.1007 (#4384)
yanglbme May 2, 2025
9877046
feat: add solutions to lc problem: No.1128 (#4386)
yanglbme May 3, 2025
c75bdf1
feat: add solutions to lc problem: No.3531 (#4387)
yanglbme May 4, 2025
2868b7d
feat: add solutions to lc problem: No.3532 (#4388)
yanglbme May 4, 2025
7cfd1f3
feat: add solutions to lc problem: No.0790 (#4389)
yanglbme May 4, 2025
c34a0d2
feat: add weekly contest 448 (#4390)
yanglbme May 5, 2025
b124017
fix: update solutions to lc problems: No.3341,3342 (#4391)
yanglbme May 6, 2025
15dd23d
chore: auto update starcharts
idoocs May 11, 2025
3f5067f
feat: add new lc problems (#4399)
yanglbme May 12, 2025
6fdcc26
feat: add solutions to lc problem: No.3541 (#4400)
yanglbme May 12, 2025
c85ac1d
feat: add solutions to lc problem: No.4545 (#4401)
yanglbme May 12, 2025
356cd7b
feat: add solutions to lc problem: No.3546 (#4402)
yanglbme May 12, 2025
170fd23
feat: add solutions to lc problem: No.3335 (#4404)
yanglbme May 13, 2025
ab51502
feat: add solutions to lc problem: No.3337 (#4405)
yanglbme May 13, 2025
b6b8817
feat: add solutions to lc problem: No.3337 (#4406)
yanglbme May 14, 2025
52f89c8
feat: update solutions to lc problems: No.2900,2901 (#4408)
yanglbme May 14, 2025
99a394b
feat: add solutions to lc problem: No.1477 (#4409)
yanglbme May 17, 2025
29ee80c
feat: update lc problems (#4410)
yanglbme May 18, 2025
a3979f7
feat: add solutions to lc problems: No.3550,3551 (#4411)
yanglbme May 18, 2025
8ec2624
feat: add solutions to lc problem: No.3552 (#4412)
yanglbme May 18, 2025
070dbb6
feat: add solutions to lc problem: No.3356 (#4413)
yanglbme May 19, 2025
49fea5c
feat: add rust solution to lc problem: No.0581 (#4414)
yanglbme May 20, 2025
81ba6c0
chore: add new lc problems (#4416)
yanglbme May 20, 2025
741bea8
feat: add solutions to lc problem: No.3555 (#4417)
yanglbme May 20, 2025
ffca226
feat: add solutions to lc problem: No.3554 (#4418)
yanglbme May 20, 2025
9dbf88f
feat: add solutions to lc problem: No.2009 (#4419)
yanglbme May 20, 2025
0482811
feat: add solutions to lc problems: No.2357,2358 (#4420)
yanglbme May 21, 2025
51a192d
feat: add solutions to lc problem: No.3362 (#4421)
yanglbme May 22, 2025
bd0eb2c
feat: update solutions to lc problem: No.3362
yanglbme May 22, 2025
9eb9ca9
feat: add c solution to lc problem: No.0001 (#4422)
pranjal030404 May 22, 2025
4217576
feat: add solutions to lc problem: No.2359 (#4423)
yanglbme May 23, 2025
6085f2f
feat: add solutions to lc problem: No.2942 (#4424)
yanglbme May 23, 2025
853735d
feat: add c solution to lc problem: No.0002 (#4426)
pranjal030404 May 23, 2025
7381ede
feat: add solutions to lc problem: No.2131 (#4428)
yanglbme May 25, 2025
6bbb968
feat: add new lc problems (#4429)
yanglbme May 25, 2025
b890898
feat: add solutions to lc problem: No.3556 (#4430)
yanglbme May 25, 2025
e188f51
feat: add weekly contest 451 (#4431)
yanglbme May 25, 2025
ec22c87
feat: add solutions to lc problem: No.1857 (#4432)
yanglbme May 25, 2025
3e3d06c
feat: add solutions to lc problem: No.0245 (#4433)
yanglbme May 25, 2025
b2a6267
feat: add c solutions to lc problems: No.0003,0004 (#4427)
pranjal030404 May 26, 2025
b5a542b
fix: resolve memory leak issue in No.0002 (#4434)
gaganxsaini May 26, 2025
1ebe39f
feat: add solutions to lc problem: No.2966 (#4435)
yanglbme May 26, 2025
40f3d8b
feat: add solutions to lc problem: No.3403 (#4436)
yanglbme May 26, 2025
afa39bd
feat: update lc problems (#4438)
yanglbme May 26, 2025
185c94f
feat: add solutions to lc problem: No.3565 (#4439)
yanglbme May 27, 2025
ce35926
feat: add solutions to lc problem: No.0147 (#4437)
taoyq1988 May 27, 2025
aca2202
chore: auto compress images (#4440)
github-actions[bot] May 27, 2025
8e777ff
feat: add solutions to lc problem: No.0269 (#4441)
taoyq1988 May 27, 2025
352832e
feat: add solutions to lc problem: No.3560 (#4443)
yanglbme May 27, 2025
30d02ab
feat: add solutions to lc problem: No.3561 (#4444)
yanglbme May 27, 2025
7c2ed94
feat: add rust solutions to lc problems: No.3372,3373 (#4445)
yanglbme May 27, 2025
8aca291
feat: add cpp solution to lc problem No.0008 (#4442)
gaganxsaini May 27, 2025
6ae2c07
chore: auto update starcharts
idoocs May 28, 2025
dd076f7
chore: add missing image (#4447)
yanglbme May 28, 2025
18565c4
feat: add solutions to lc problem: No.1061 (#4448)
yanglbme May 28, 2025
c7a3051
feat: update lc problems (#4449)
yanglbme May 28, 2025
3ddd4aa
feat: add solutions to lc problem: No.2359 (#4450)
yanglbme May 29, 2025
c6b4e43
feat: add solutions to lc problem: No.0909 (#4451)
yanglbme May 31, 2025
8c4bba2
feat: add solutions to lc problem: No.2929 (#4452)
yanglbme Jun 1, 2025
15f7077
feat: add new lc problems (#4453)
yanglbme Jun 2, 2025
90f55e9
feat: add solutions to lc problems: No.3566,3567 (#4454)
yanglbme Jun 2, 2025
befa1c5
feat: add solutions to lc problem: No.3568 (#4455)
yanglbme Jun 2, 2025
9716c9c
feat: add rust solution to lc problem: No.135 (#4456)
yanglbme Jun 2, 2025
13ca332
feat: add solutions to lc problem: No.1298 (#4457)
yanglbme Jun 2, 2025
490508b
feat: update lc problems (#4459)
yanglbme Jun 3, 2025
297e28c
feat: add solutions to lc problem: No.2616 (#4460)
yanglbme Jun 3, 2025
c520c5a
feat: add solutions to lc problem: No.3406 (#4461)
yanglbme Jun 4, 2025
6558818
feat: add solutions to lc problem: No.1061 (#4462)
yanglbme Jun 4, 2025
2e938eb
feat: add solutions to lc problem: No.3442 (#4463)
yanglbme Jun 4, 2025
58a5c21
feat: add solutions to lc problem: No.3405 (#4464)
yanglbme Jun 5, 2025
a774cc7
feat: add solutions to lc problem: No.2434 (#4465)
yanglbme Jun 5, 2025
ba46ac8
feat: add solutions to lc problem: No.3170 (#4466)
yanglbme Jun 7, 2025
078c02d
feat: add new lc problems (#4467)
yanglbme Jun 8, 2025
f5db36b
feat: add solutions to lc problem: No.3573 (#4468)
yanglbme Jun 8, 2025
26b007e
feat: add solutions to lc problem: No.0440 (#4469)
yanglbme Jun 8, 2025
82583d6
feat: add solutions to lc problem: No.3576 (#4470)
yanglbme Jun 9, 2025
57362c1
feat: update lc problems (#4471)
yanglbme Jun 9, 2025
ec0dc28
chore: update problems (#4472)
yanglbme Jun 9, 2025
76a5f03
feat: add c solutions to lc problems: No.0005,0006 (#4458)
pranjal030404 Jun 9, 2025
ccd5497
feat: update solution to lc problem: No.3580 (#4473)
yanglbme Jun 9, 2025
8f9449a
feat: add solutions to lc problem: No.3578 (#4475)
yanglbme Jun 10, 2025
24da320
chore(deps): bump requests from 2.32.0 to 2.32.4 (#4474)
dependabot[bot] Jun 10, 2025
363aafd
feat: add solutions to lc problem: No.3445 (#4476)
yanglbme Jun 11, 2025
a0a5cb7
feat: update lc problems (#4477)
yanglbme Jun 11, 2025
e26e506
feat: update solutions to lc problem: No.0006 (#4478)
yanglbme Jun 11, 2025
4aaa775
docs: add support us section
yanglbme Jun 11, 2025
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
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Prev Previous commit
Next Next commit
feat: update lc problems (doocs#4459)
  • Loading branch information
yanglbme authored Jun 3, 2025
commit 490508bfa99e966cab6e8c389620bb3a3a1f723c
4 changes: 2 additions & 2 deletions solution/0100-0199/0134.Gas Station/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -57,10 +57,10 @@ tags:
<p><strong>提示:</strong></p>

<ul>
<li><code>gas.length == n</code></li>
<li><code>cost.length == n</code></li>
<li><code>n == gas.length == cost.length</code></li>
<li><code>1 &lt;= n &lt;= 10<sup>5</sup></code></li>
<li><code>0 &lt;= gas[i], cost[i] &lt;= 10<sup>4</sup></code></li>
<li>输入保证答案唯一。</li>
</ul>

<!-- description:end -->
Expand Down
1 change: 1 addition & 0 deletions solution/0100-0199/0134.Gas Station/README_EN.md
Original file line number Diff line number Diff line change
Expand Up @@ -60,6 +60,7 @@ Therefore, you can&#39;t travel around the circuit once no matter where you star
<li><code>n == gas.length == cost.length</code></li>
<li><code>1 &lt;= n &lt;= 10<sup>5</sup></code></li>
<li><code>0 &lt;= gas[i], cost[i] &lt;= 10<sup>4</sup></code></li>
<li>The input is generated such that the answer is unique.</li>
</ul>

<!-- description:end -->
Expand Down
15 changes: 0 additions & 15 deletions solution/0100-0199/0195.Tenth Line/README_EN.md
Original file line number Diff line number Diff line change
Expand Up @@ -23,41 +23,26 @@ tags:
<p>Assume that <code>file.txt</code> has the following content:</p>

<pre>

Line 1

Line 2

Line 3

Line 4

Line 5

Line 6

Line 7

Line 8

Line 9

Line 10

</pre>

<p>Your script should output the tenth line, which is:</p>

<pre>

Line 10

</pre>

<div class="spoilers"><b>Note:</b><br />

1. If the file contains less than 10 lines, what should you output?<br />

2. There&#39;s at least three different solutions. Try to explore all possibilities.</div>

<!-- description:end -->
Expand Down
4 changes: 0 additions & 4 deletions solution/0200-0299/0262.Trips and Users/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -36,8 +36,6 @@ id 是这张表的主键(具有唯一值的列)。
status 是一个表示行程状态的枚举类型,枚举成员为(‘completed’, ‘cancelled_by_driver’, ‘cancelled_by_client’) 。
</pre>

<p>&nbsp;</p>

<div class="original__bRMd">
<div>
<p>表:<code>Users</code></p>
Expand All @@ -57,8 +55,6 @@ users_id 是这张表的主键(具有唯一值的列)。
banned 是一个表示用户是否被禁止的枚举类型,枚举成员为 (‘Yes’, ‘No’) 。
</pre>

<p>&nbsp;</p>

<p><strong>取消率</strong> 的计算方式如下:(被司机或乘客取消的非禁止用户生成的订单数量) / (非禁止用户生成的订单总数)。</p>

<p>编写解决方案找出&nbsp;<code>"2013-10-01"</code><strong>&nbsp;</strong>至&nbsp;<code>"2013-10-03"</code><strong>&nbsp;</strong>期间有&nbsp;<strong>至少&nbsp;</strong>一次行程的非禁止用户(<strong>乘客和司机都必须未被禁止</strong>)的 <strong>取消率</strong>。非禁止用户即 banned 为 No 的用户,禁止用户即 banned 为 Yes 的用户。其中取消率 <code>Cancellation Rate</code> 需要四舍五入保留 <strong>两位小数</strong> 。</p>
Expand Down
6 changes: 3 additions & 3 deletions solution/0200-0299/0262.Trips and Users/README_EN.md
Original file line number Diff line number Diff line change
Expand Up @@ -34,7 +34,7 @@ The table holds all taxi trips. Each trip has a unique id, while client_id and d
Status is an ENUM (category) type of (&#39;completed&#39;, &#39;cancelled_by_driver&#39;, &#39;cancelled_by_client&#39;).
</pre>

<p>&nbsp;</p>
<p> </p>

<p>Table: <code>Users</code></p>

Expand All @@ -51,15 +51,15 @@ The table holds all users. Each user has a unique users_id, and role is an ENUM
banned is an ENUM (category) type of (&#39;Yes&#39;, &#39;No&#39;).
</pre>

<p>&nbsp;</p>
<p> </p>

<p>The <strong>cancellation rate</strong> is computed by dividing the number of canceled (by client or driver) requests with unbanned users by the total number of requests with unbanned users on that day.</p>

<p>Write a solution to find the <strong>cancellation rate</strong> of requests with unbanned users (<strong>both client and driver must not be banned</strong>) each day between <code>&quot;2013-10-01&quot;</code> and <code>&quot;2013-10-03&quot;</code> with <strong>at least</strong> one trip. Round <code>Cancellation Rate</code> to <strong>two decimal</strong> points.</p>

<p>Return the result table in <strong>any order</strong>.</p>

<p>The&nbsp;result format is in the following example.</p>
<p>The result format is in the following example.</p>

<p>&nbsp;</p>
<p><strong class="example">Example 1:</strong></p>
Expand Down
20 changes: 2 additions & 18 deletions solution/0700-0799/0799.Champagne Tower/README_EN.md
Original file line number Diff line number Diff line change
Expand Up @@ -27,51 +27,35 @@ tags:
<p>Now after pouring some non-negative integer cups of champagne, return how full the <code>j<sup>th</sup></code> glass in the <code>i<sup>th</sup></code> row is (both <code>i</code> and <code>j</code> are 0-indexed.)</p>

<p>&nbsp;</p>

<p><strong class="example">Example 1:</strong></p>

<pre>

<strong>Input:</strong> poured = 1, query_row = 1, query_glass = 1

<strong>Output:</strong> 0.00000

<strong>Explanation:</strong> We poured 1 cup of champange to the top glass of the tower (which is indexed as (0, 0)). There will be no excess liquid so all the glasses under the top glass will remain empty.

</pre>

<p><strong class="example">Example 2:</strong></p>

<pre>

<strong>Input:</strong> poured = 2, query_row = 1, query_glass = 1

<strong>Output:</strong> 0.50000

<strong>Explanation:</strong> We poured 2 cups of champange to the top glass of the tower (which is indexed as (0, 0)). There is one cup of excess liquid. The glass indexed as (1, 0) and the glass indexed as (1, 1) will share the excess liquid equally, and each will get half cup of champange.

</pre>

<p><strong class="example">Example 3:</strong></p>

<pre>

<strong>Input:</strong> poured = 100000009, query_row = 33, query_glass = 17

<strong>Output:</strong> 1.00000

</pre>

<p>&nbsp;</p>

<p><strong>Constraints:</strong></p>

<ul>

<li><code>0 &lt;=&nbsp;poured &lt;= 10<sup>9</sup></code></li>

<li><code>0 &lt;= query_glass &lt;= query_row&nbsp;&lt; 100</code></li>

<li><code>0 &lt;=&nbsp;poured &lt;= 10<sup>9</sup></code></li>
<li><code>0 &lt;= query_glass &lt;= query_row&nbsp;&lt; 100</code></li>
</ul>

<!-- description:end -->
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,10 @@ edit_url: https://github.com/doocs/leetcode/edit/main/solution/1000-1099/1016.Bi
rating: 1779
source: 第 129 场周赛 Q4
tags:
- 位运算
- 哈希表
- 字符串
- 滑动窗口
---

<!-- problem:start -->
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,10 @@ edit_url: https://github.com/doocs/leetcode/edit/main/solution/1000-1099/1016.Bi
rating: 1779
source: Weekly Contest 129 Q4
tags:
- Bit Manipulation
- Hash Table
- String
- Sliding Window
---

<!-- problem:start -->
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,7 @@ tags:

<!-- problem:start -->

# [1062. 最长重复子串 🔒](https://leetcode.cn/problems/longest-repeating-substring)
# [1062. 最长重复子串的长度 🔒](https://leetcode.cn/problems/longest-repeating-substring)

[English Version](/solution/1000-1099/1062.Longest%20Repeating%20Substring/README_EN.md)

Expand Down
31 changes: 6 additions & 25 deletions solution/1000-1099/1070.Product Sales Analysis III/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -34,28 +34,17 @@ product_id 是产品表的外键(reference 列)。
请注意,价格是按每单位计的。
</pre>

<p>&nbsp;</p>

<p>产品表&nbsp;<code>Product</code>:</p>

<pre>
+--------------+---------+
| Column Name | Type |
+--------------+---------+
| product_id | int |
| product_name | varchar |
+--------------+---------+
product_id 是这张表的主键(具有唯一值的列)。
这张表的每一行都标识:每个产品的 id 和 产品名称。</pre>
<p>编写解决方案,选出每个售出过的产品&nbsp;<strong>第一年</strong> 销售的 <strong>产品 id</strong>、<strong>年份</strong>、<strong>数量&nbsp;</strong>和 <strong>价格</strong>。</p>

<p>&nbsp;</p>
<ul>
<li>对每个 <code>product_id</code>,找到其在Sales表中首次出现的最早年份。</li>
<li>返回该产品在该年度的 <strong>所有</strong> 销售条目。</li>
</ul>

<p>编写解决方案,选出每个售出过的产品&nbsp;<strong>第一年</strong> 销售的 <strong>产品 id</strong><strong>年份</strong>、<strong>数量&nbsp;</strong>和 <strong>价格</strong>。</p>
<p>返回一张有这些列的表:<strong>product_id</strong><strong>first_year</strong><strong>quantity&nbsp;</strong>和<strong>&nbsp;price</strong>。</p>

<p>结果表中的条目可以按 <strong>任意顺序</strong> 排列。</p>

<p>结果格式如下例所示:</p>

<p>&nbsp;</p>

<p><strong>示例 1:</strong></p>
Expand All @@ -70,14 +59,6 @@ Sales 表:
| 2 | 100 | 2009 | 12 | 5000 |
| 7 | 200 | 2011 | 15 | 9000 |
+---------+------------+------+----------+-------+
Product 表:
+------------+--------------+
| product_id | product_name |
+------------+--------------+
| 100 | Nokia |
| 200 | Apple |
| 300 | Samsung |
+------------+--------------+
<strong>输出:</strong>
+------------+------------+----------+-------+
| product_id | first_year | quantity | price |
Expand Down
44 changes: 15 additions & 29 deletions solution/1000-1099/1070.Product Sales Analysis III/README_EN.md
Original file line number Diff line number Diff line change
Expand Up @@ -30,32 +30,25 @@ tags:
+-------------+-------+
(sale_id, year) is the primary key (combination of columns with unique values) of this table.
product_id is a foreign key (reference column) to <code>Product</code> table.
Each row of this table shows a sale on the product product_id in a certain year.
Note that the price is per unit.
</pre>

<p> </p>

<p>Table: <code>Product</code></p>
Each row records a sale of a product in a given year.
A product may have multiple sales entries in the same year.
Note that the per-unit price.

<pre>
+--------------+---------+
| Column Name | Type |
+--------------+---------+
| product_id | int |
| product_name | varchar |
+--------------+---------+
product_id is the primary key (column with unique values) of this table.
Each row of this table indicates the product name of each product.
</pre>

<p> </p>

<p>Write a solution to select the <strong>product id</strong>, <strong>year</strong>, <strong>quantity</strong>, and <strong>price</strong> for the <strong>first year</strong> of every product sold. If any product is bought multiple times in its first year, return all sales separately.</p>
<p>Write a solution to find all sales that occurred in the <strong data-end="967" data-start="953">first year</strong> each product was sold.</p>

<p>Return the resulting table in <strong>any order</strong>.</p>
<ul data-end="1234" data-start="992">
<li data-end="1078" data-start="992">
<p data-end="1078" data-start="994">For each <code data-end="1015" data-start="1003">product_id</code>, identify the earliest <code data-end="1045" data-start="1039">year</code> it appears in the <code data-end="1071" data-start="1064">Sales</code> table.</p>
</li>
<li data-end="1140" data-start="1079">
<p data-end="1140" data-start="1081">Return <strong data-end="1095" data-start="1088">all</strong> sales entries for that product in that year.</p>
</li>
</ul>

<p>The result format is in the following example.</p>
<p data-end="1234" data-start="1143">Return a table with the following columns: <strong>product_id</strong>,<strong> first_year</strong>, <strong>quantity, </strong>and<strong> price</strong>.<br />
Return the result in any order.</p>

<p>&nbsp;</p>
<p><strong class="example">Example 1:</strong></p>
Expand All @@ -70,14 +63,7 @@ Sales table:
| 2 | 100 | 2009 | 12 | 5000 |
| 7 | 200 | 2011 | 15 | 9000 |
+---------+------------+------+----------+-------+
Product table:
+------------+--------------+
| product_id | product_name |
+------------+--------------+
| 100 | Nokia |
| 200 | Apple |
| 300 | Samsung |
+------------+--------------+

<strong>Output:</strong>
+------------+------------+----------+-------+
| product_id | first_year | quantity | price |
Expand Down
13 changes: 1 addition & 12 deletions solution/1100-1199/1108.Defanging an IP Address/README_EN.md
Original file line number Diff line number Diff line change
Expand Up @@ -23,29 +23,18 @@ tags:
<p>A <em>defanged&nbsp;IP address</em>&nbsp;replaces every period <code>&quot;.&quot;</code> with <code>&quot;[.]&quot;</code>.</p>

<p>&nbsp;</p>

<p><strong class="example">Example 1:</strong></p>

<pre><strong>Input:</strong> address = "1.1.1.1"

<strong>Output:</strong> "1[.]1[.]1[.]1"

</pre><p><strong class="example">Example 2:</strong></p>

<pre><strong>Input:</strong> address = "255.100.50.0"

<strong>Output:</strong> "255[.]100[.]50[.]0"

</pre>

<p>&nbsp;</p>

<p><strong>Constraints:</strong></p>

<ul>

<li>The given <code>address</code> is a valid IPv4 address.</li>

<li>The given <code>address</code> is a valid IPv4 address.</li>
</ul>

<!-- description:end -->
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -22,25 +22,17 @@ tags:
<p>A string is a <em>valid parentheses string</em>&nbsp;(denoted VPS) if and only if it consists of <code>&quot;(&quot;</code> and <code>&quot;)&quot;</code> characters only, and:</p>

<ul>

<li>It is the empty string, or</li>

<li>It can be written as&nbsp;<code>AB</code>&nbsp;(<code>A</code>&nbsp;concatenated with&nbsp;<code>B</code>), where&nbsp;<code>A</code>&nbsp;and&nbsp;<code>B</code>&nbsp;are VPS&#39;s, or</li>

<li>It can be written as&nbsp;<code>(A)</code>, where&nbsp;<code>A</code>&nbsp;is a VPS.</li>

<li>It is the empty string, or</li>
<li>It can be written as&nbsp;<code>AB</code>&nbsp;(<code>A</code>&nbsp;concatenated with&nbsp;<code>B</code>), where&nbsp;<code>A</code>&nbsp;and&nbsp;<code>B</code>&nbsp;are VPS&#39;s, or</li>
<li>It can be written as&nbsp;<code>(A)</code>, where&nbsp;<code>A</code>&nbsp;is a VPS.</li>
</ul>

<p>We can&nbsp;similarly define the <em>nesting depth</em> <code>depth(S)</code> of any VPS <code>S</code> as follows:</p>

<ul>

<li><code>depth(&quot;&quot;) = 0</code></li>

<li><code>depth(A + B) = max(depth(A), depth(B))</code>, where <code>A</code> and <code>B</code> are VPS&#39;s</li>

<li><code>depth(&quot;(&quot; + A + &quot;)&quot;) = 1 + depth(A)</code>, where <code>A</code> is a VPS.</li>

<li><code>depth(&quot;&quot;) = 0</code></li>
<li><code>depth(A + B) = max(depth(A), depth(B))</code>, where <code>A</code> and <code>B</code> are VPS&#39;s</li>
<li><code>depth(&quot;(&quot; + A + &quot;)&quot;) = 1 + depth(A)</code>, where <code>A</code> is a VPS.</li>
</ul>

<p>For example,&nbsp; <code>&quot;&quot;</code>,&nbsp;<code>&quot;()()&quot;</code>, and&nbsp;<code>&quot;()(()())&quot;</code>&nbsp;are VPS&#39;s (with nesting depths 0, 1, and 2), and <code>&quot;)(&quot;</code> and <code>&quot;(()&quot;</code> are not VPS&#39;s.</p>
Expand Down
Loading