Skip to content

Merge from master #20

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 1,051 commits into
base: demo_master
Choose a base branch
from
Open
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
1051 commits
Select commit Hold shift + click to select a range
25089d5
test: 1705 solution
QuBenhao May 7, 2025
e618525
test: 1706 solution
QuBenhao May 7, 2025
46b8359
doc: digit dp template
QuBenhao May 7, 2025
3b64c66
test: [20250508] Add (3342 LCR_101)
actions-user May 7, 2025
589ad1a
test: 3342 solution
QuBenhao May 7, 2025
17ceb0e
test: LCR 101 solution
QuBenhao May 8, 2025
71686c4
test: LCR 101 solution
May 8, 2025
a812361
test: 1742 solution
May 8, 2025
948c71b
test: 1745 solution
May 8, 2025
b34fc13
test: 1760 solution
May 8, 2025
4a51e58
test: 1812 solution
May 8, 2025
8bb0d02
test: add ignore
May 8, 2025
3e37dac
test: 1863 solution
May 8, 2025
5ebecab
test: 1922 solution
May 8, 2025
37ead89
test: 1963 solution
May 8, 2025
22f97d4
test: 2012 solution
May 8, 2025
15d58c2
test: 2056 solution
May 8, 2025
cf5281c
test: 2070 solution
May 8, 2025
8eab756
test: 2080 solution
May 8, 2025
faf728e
test: 2109 solution
May 8, 2025
e030bce
test: 2116 solution
May 8, 2025
91c017a
fix: java dependency
May 8, 2025
f03910d
test: remove empty java
May 8, 2025
6ae007f
test: 2140 solution
QuBenhao May 8, 2025
4a0eff9
test: 2176 solution
QuBenhao May 8, 2025
500fe64
test: [20250509] Add (3343 LCR_027)
actions-user May 8, 2025
accee54
test: remove 3343
QuBenhao May 8, 2025
74d6c75
test: LCR 027 solution
QuBenhao May 8, 2025
d6de77a
doc: fenwick tree
QuBenhao May 9, 2025
5b1216a
doc: fenwick tree
May 9, 2025
030d275
test: 2179 solution
May 9, 2025
a3516a6
test: 315 solution
May 9, 2025
f607466
test: 2209 solution
May 9, 2025
0a7507c
test: 2209 solution
May 9, 2025
5165901
doc: update interview
May 9, 2025
cb03117
doc: interview
May 9, 2025
77a1a72
test: 2218 wrong
May 9, 2025
67c0a99
test: 2218 solution
QuBenhao May 9, 2025
72234e7
test: 2239 solution
QuBenhao May 9, 2025
2bc4977
test: 2241 solution
QuBenhao May 9, 2025
2844585
test: 2264 solution
QuBenhao May 9, 2025
ae9a167
test: 2269 solution
QuBenhao May 9, 2025
da75e9b
test: [20250510] Add (2918 LCR_117 LCR_078)
actions-user May 9, 2025
6de5e2d
test: 2918 solution
QuBenhao May 9, 2025
0e452e6
test: LCR 117, LCR 078 solution
QuBenhao May 9, 2025
4cd19e1
test: 2266 solution
QuBenhao May 10, 2025
7bfa7ee
test: 2270 solution
QuBenhao May 10, 2025
145bc14
test: 2272 solution
QuBenhao May 10, 2025
027fe0f
test: 2274 solution
QuBenhao May 10, 2025
6964ce2
test: 2275 solution
QuBenhao May 10, 2025
a5ebbd4
test: 2296 solution
QuBenhao May 10, 2025
05008db
test: [20250511] Add (1550 LCR_073 LCR_086)
actions-user May 10, 2025
fab52c7
test: biweekly156 rank#135
QuBenhao May 10, 2025
5069dc5
test: 3542 solution
QuBenhao May 10, 2025
55baa8f
test: 1550, LCR 073, LCR 086 solution
QuBenhao May 11, 2025
598d0e3
test: 1550, LCR 073, LCR 086 solution
QuBenhao May 11, 2025
8999dfd
feat: python contest template
QuBenhao May 11, 2025
6ce455b
test: [20250512] Add (2094 LCR_040)
actions-user May 11, 2025
518d1d3
test: 2094, LCR 040 solution
QuBenhao May 11, 2025
01c8cff
test: 2094, LCR 039, LCR 040 solution
QuBenhao May 11, 2025
4602ac7
test: 3542 solution
QuBenhao May 11, 2025
3b6c97e
9.3.0
May 12, 2025
94ad40e
test: [20250513] Add (3335 LCR_005)
actions-user May 12, 2025
40a803d
test: 3335, 3337 solution
QuBenhao May 13, 2025
66f5500
test: LCR 005 solution
QuBenhao May 13, 2025
190cffb
test: 3335, 3337 solution
QuBenhao May 13, 2025
c275cf1
test: LCR 005 solution
QuBenhao May 13, 2025
8e54e58
test: [20250514] Add (3337 LCR_035)
actions-user May 13, 2025
e93a9a7
test: LCR 035 solution
QuBenhao May 13, 2025
9614e36
feat: update interview
May 14, 2025
436c517
test: [20250515] Add (2900 LCR_046)
actions-user May 14, 2025
a2a8a88
test: 2900 solution
QuBenhao May 14, 2025
0aa0b83
test: 2900 solution
QuBenhao May 15, 2025
737b7b0
test: 2900 solution
QuBenhao May 15, 2025
6e6d3a9
test: [20250516] Add (2901)
actions-user May 15, 2025
c7f2144
test: 2901 solution
QuBenhao May 15, 2025
98fe2ff
test: LCR 102 solution
QuBenhao May 15, 2025
262254a
test: LCR 102 solution
QuBenhao May 16, 2025
8bd58c6
test: [20250517] Add (75)
actions-user May 16, 2025
0e593a3
Merge branch 'master' of github.com:QuBenhao/LeetCode
QuBenhao May 16, 2025
2cdbf4d
test: [20250517] add LCR 057, LCR 118
QuBenhao May 16, 2025
6512f67
test: LCR 057, LCR 118 solution
QuBenhao May 17, 2025
ef9ff27
test: LCR 057, LCR 118 solution
QuBenhao May 17, 2025
0994978
test: LCR 118 solution
QuBenhao May 17, 2025
5f698d6
doc: templates.md
QuBenhao May 17, 2025
d3daeec
test: [20250518] Add (1931)
actions-user May 17, 2025
9937861
test: LCR 067, LCR 013 daily
QuBenhao May 17, 2025
63405a2
test: LCR 067, LCR 013 solution
QuBenhao May 17, 2025
70d01ce
test: LCR 067, LCR 013 solution
QuBenhao May 18, 2025
084dc5a
test: Weekly #450 contest
QuBenhao May 18, 2025
149752e
test: Weekly #450 solution
QuBenhao May 18, 2025
0815a0a
test: [20250519] Add (3024)
actions-user May 18, 2025
93c8d2c
test: daily LCR 020
QuBenhao May 18, 2025
f4559bb
test: LCR 046 solution
QuBenhao May 18, 2025
da796d2
test: 3024, LCR 020 solution
QuBenhao May 19, 2025
6a93c09
test: 1931 solution
May 19, 2025
6715926
test: 3024, LCR 020 solution
May 19, 2025
d969683
test: 2353 solution
May 19, 2025
0b2bec4
fix: obj problem with muliple constructor
May 19, 2025
d622bd6
fix: golang any and [][]int
May 19, 2025
05e64bd
Merge pull request #148 from QuBenhao/147-golang-fix
QuBenhao May 19, 2025
e52cd6d
9.4.0
May 19, 2025
b3f5511
test: LCR 004 solution
May 19, 2025
b38bc02
test: 2360 solution
May 19, 2025
8d57b0f
test: 2412 solution
May 19, 2025
cec2da2
test: 2412 solution
QuBenhao May 19, 2025
65f3a8a
test: [20250520] Add (3355 LCR_028)
actions-user May 19, 2025
7a3e138
feat: implement double-linked-list-with-child python
QuBenhao May 20, 2025
dfffbf0
test: 335, LCR 028 solution
QuBenhao May 20, 2025
88fbd58
feat: golang doubleLinkedListNode
May 20, 2025
57b80de
fix: golang new submission
May 20, 2025
fd94385
test: 3355, LCR 028 solution
May 20, 2025
9b877bf
fix: golang any
May 20, 2025
009a82c
fix: golang any
May 20, 2025
81e1077
9.5.0
May 20, 2025
7c3cdeb
doc: update interface{} in golang
May 20, 2025
e3d8aa4
test: 2462 solution
May 20, 2025
5d1a721
test: 2506 solution
May 20, 2025
f66904e
test: 2537 solution
May 20, 2025
328ba3c
test: 2545 solution
May 20, 2025
0e00b52
test: 3159 solution
May 20, 2025
3d6e204
test: LCR 018 solution
May 20, 2025
c55c342
test: [20250521] Add (3356 LCR_103)
actions-user May 20, 2025
4ec7eab
test: 3356, LCR 103 solution
QuBenhao May 20, 2025
e1567a2
test: 3356, LCR 103 solution
QuBenhao May 20, 2025
2e541fd
fix: add ignore
May 21, 2025
c74cbbf
feat: add cookie expiration check and update mechanism
May 21, 2025
4e1987f
feat: add cookie expiration check and update mechanism
May 21, 2025
57a08bc
Update python/scripts/tools.py
QuBenhao May 21, 2025
dd28e6f
Update python/scripts/submit.py
QuBenhao May 21, 2025
9da3143
Update python/scripts/daily_submission.py
QuBenhao May 21, 2025
057d255
Update python/scripts/daily_auto.py
QuBenhao May 21, 2025
206d1f1
fix: code review
May 21, 2025
9dd6d1a
Merge pull request #151 from QuBenhao/150-cookie
QuBenhao May 21, 2025
3468bf8
9.6.0
May 21, 2025
1d62162
!feat: 149 contest support (#152)
QuBenhao May 21, 2025
74665b6
fix: bs4
May 21, 2025
8666351
docs: update interview
May 21, 2025
e9e27f2
doc: update interview
QuBenhao May 21, 2025
cc3a0e6
test: [20250522] Add (3362 LCR_087)
actions-user May 21, 2025
6c5d29f
test: 3362, LCR 087 solution
QuBenhao May 21, 2025
6b21611
test: 3362, LCR 087 solution
QuBenhao May 21, 2025
79d7846
fix: contest use alpha
May 22, 2025
cf432c2
test: multithreading 1114
May 22, 2025
19abdad
test: multithreading 1115
May 22, 2025
a3195e0
test: multithreading 1116
May 22, 2025
0681706
test: multithreading 1117
May 22, 2025
45ec48d
test: multithreading 1195
May 22, 2025
f83f652
test: [20250523] Add (3068 LCR_119)
actions-user May 22, 2025
b6de6b7
test: 3068, LCR 119 solution
QuBenhao May 22, 2025
303242a
test: 3068, LCR 119 solution
QuBenhao May 22, 2025
071ae88
test: LRU/LFU template
QuBenhao May 23, 2025
6f4ea1a
test: [20250524] Add (2942 LCR_058 LCR_104)
actions-user May 23, 2025
36c162d
test: 2942, LCR 058, LCR 104 solution
QuBenhao May 24, 2025
56b382d
test: 2942, LCR 058, LCR 104 solution
QuBenhao May 24, 2025
3ad2aaf
test: [20250525] Add (2131 LCR_069 LCR_112)
actions-user May 24, 2025
5f1314c
test: biweekly contest 157 solution
QuBenhao May 25, 2025
8cb795f
test: 2131, LCR 069, LCR 112 solution
QuBenhao May 25, 2025
d28f16b
test: weekly contest 451 solution
QuBenhao May 25, 2025
ccfaf18
test: weekly contest 451 solution
QuBenhao May 25, 2025
131d0a8
test: 2131, LCR 069, LCR 112 solution
QuBenhao May 25, 2025
34e1b38
test: biweekly contest 157 solution
QuBenhao May 25, 2025
035cab0
test: biweekly contest 157 solution
QuBenhao May 25, 2025
d61e585
test: [20250526] Add (1857 LCR_077)
actions-user May 25, 2025
d6eabcb
test: 1857, LCR 077 solution
QuBenhao May 25, 2025
5104370
test: multiprocess
May 26, 2025
b971581
test: add golang concurrency
May 26, 2025
209dc5c
test: 1857, LCR 077 solution
May 26, 2025
5a970ac
test: add golang concurrency
May 26, 2025
21274fd
test: add golang concurrency
May 26, 2025
57cca6a
test: add cpp interview.h
QuBenhao May 26, 2025
737f96d
test: go concurrency 03
QuBenhao May 26, 2025
138eb7c
test: go concurrency 04
QuBenhao May 26, 2025
f1e83f1
test: go concurrency 05
QuBenhao May 26, 2025
443dae1
test: [20250527] Add (2894 LCR_006)
actions-user May 26, 2025
af954f0
test: 2894, LCR 006 solution
QuBenhao May 26, 2025
0ee3858
doc: interview update
May 27, 2025
57e61f0
doc: interview update
May 27, 2025
953ea6b
doc: interview update
May 27, 2025
5da8273
test: 3396 solution
May 27, 2025
f1c1956
test: [20250528] Add (3372 LCR_030)
actions-user May 27, 2025
a1d4ce3
test: 3372, LCR 030 solution
QuBenhao May 27, 2025
b803828
test: 3372, LCR 030 solution
May 28, 2025
5b87635
test: 3372, LCR 030 solution
May 28, 2025
b63e116
test: 3372, LCR 030 solution
May 28, 2025
9c822bb
test: [20250529] Add (3373 LCR_041)
actions-user May 28, 2025
c56d11b
test: 3373, LCR 041 solution
QuBenhao May 28, 2025
ad528b2
test: 3373, LCR 041 solution
QuBenhao May 28, 2025
0422b84
test: 3373, LCR 041 solution
QuBenhao May 29, 2025
d177922
test: 3373, LCR 041 solution
May 29, 2025
05361a1
doc: update interview
May 29, 2025
9e5abe3
test: [20250530] Add (2359 LCR_071)
actions-user May 29, 2025
47285da
test: 2359, LCR 071 solution
May 30, 2025
afe8a5d
test: 2359, LCR 071 solution
May 30, 2025
c655aea
test: 2359, LCR 071 solution
May 30, 2025
5974fc1
test: 2359, LCR 071 solution
May 30, 2025
513723b
doc: update templates
QuBenhao May 30, 2025
dc11d71
test: [20250531] Add (909)
actions-user May 30, 2025
879bde0
test: LCR 029, LCR 056, LCR 091 solution
QuBenhao May 30, 2025
8e1181f
test: 909 solution
QuBenhao May 30, 2025
0ef5dfe
test: [20250601] Add (2929)
actions-user May 31, 2025
d1c0063
test: 2929 solution
QuBenhao May 31, 2025
df84ce7
test: add multi-threading c++
QuBenhao Jun 1, 2025
aefd1e0
test: [20250602] Add (135)
actions-user Jun 1, 2025
5accf01
test: 135 solution
QuBenhao Jun 2, 2025
a606dd4
doc: templates update
QuBenhao Jun 2, 2025
0602227
test: 4 solution
QuBenhao Jun 2, 2025
8ccfc39
test: 394 solution
QuBenhao Jun 2, 2025
9f5e20d
test: 84 solution
QuBenhao Jun 2, 2025
c1b2aa9
test: 295, 45 solution
QuBenhao Jun 2, 2025
ab0ec39
test: [20250603] Add (1298 62 LCR_114)
actions-user Jun 2, 2025
a4abf7b
test: 763, 300, 139, 70 solution
QuBenhao Jun 2, 2025
2a01603
test: 1298 solution
Jun 3, 2025
5f43813
test: [20250604] Add (3403 LCR_114)
actions-user Jun 3, 2025
0e4ba53
test: 3403 solution
QuBenhao Jun 4, 2025
7bdb002
fix: leetcode script env
QuBenhao Jun 4, 2025
d71f327
test: add multi-threading primes
QuBenhao Jun 4, 2025
77d091f
test: add multi-threading primes
QuBenhao Jun 4, 2025
23e6bda
test: [20250605] Add (1061 LCR_114)
actions-user Jun 4, 2025
9a85471
test: 1061 solution
QuBenhao Jun 4, 2025
0881c0b
test: LCR 114 solution
QuBenhao Jun 4, 2025
2420798
feat: support c++23
QuBenhao Jun 5, 2025
c9eb899
test: add python tips
QuBenhao Jun 5, 2025
1604fd5
test: [20250606] Add (2434 LCR_115)
actions-user Jun 5, 2025
98b4a4f
test: 2434 solution
QuBenhao Jun 5, 2025
b9cec90
test: 2434 solution
QuBenhao Jun 6, 2025
31992b2
test: LCR 115 solution
QuBenhao Jun 6, 2025
f399edc
test: [20250607] Add (3170)
actions-user Jun 6, 2025
4e04046
test: 3170 solution
QuBenhao Jun 7, 2025
497b772
test: [20250608] Add (386)
actions-user Jun 7, 2025
92aa4ae
test: 3572, 3573, 3574, 3575 contest#bi158
QuBenhao Jun 7, 2025
87b03b6
test: 3572, 3573, 3574, 3575 solution
QuBenhao Jun 8, 2025
2395480
test: 386 solution
QuBenhao Jun 8, 2025
e19c3b0
test: 3572, 3573, 3574, 3575 contest#453
QuBenhao Jun 8, 2025
c6527ee
test: 3576, 3577, 3578, 3579 solution
QuBenhao Jun 8, 2025
430d94a
test: 132 solution
QuBenhao Jun 8, 2025
73b72fd
test: 2707 solution
QuBenhao Jun 8, 2025
a8de745
feat: favorite (#154)
QuBenhao Jun 8, 2025
2593340
9.7.0
Jun 8, 2025
76b7791
test: 3578, 3579 solution
QuBenhao Jun 8, 2025
2895b65
test: 3578, 3579 solution
QuBenhao Jun 8, 2025
73e2ebf
test: [20250609] Add (440)
actions-user Jun 8, 2025
a98c10f
test: 440 solution
QuBenhao Jun 8, 2025
8761f80
test: 3196 solution
QuBenhao Jun 9, 2025
8f3d984
test: 1298 solution
QuBenhao Jun 9, 2025
eb99d1c
test: [20250610] Add (3442)
actions-user Jun 9, 2025
2e1fbe3
test: 3442 solution
QuBenhao Jun 9, 2025
8b1deeb
refactor: update contest problem info extraction (#156)
QuBenhao Jun 10, 2025
ab559eb
feat: optimize contest question processing with parallel execution
QuBenhao Jun 10, 2025
6db1143
9.8.0
Jun 10, 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.
2 changes: 2 additions & 0 deletions .bazelrc
Original file line number Diff line number Diff line change
@@ -1,3 +1,5 @@
# Enable Bzlmod for every Bazel command
common --enable_bzlmod
test --cxxopt=-std=c++20 --test_timeout=3 --test_output=all
build --cxxopt=-std=c++20
run --cxxopt=-std=c++20
13 changes: 10 additions & 3 deletions .github/workflows/daily.yml
Original file line number Diff line number Diff line change
Expand Up @@ -25,7 +25,7 @@ jobs:
go.mod
go.sum
pom.xml
WORKSPACE
MODULE.bazel
tsconfig.json
package.json
jest.config.ts
Expand All @@ -45,6 +45,7 @@ jobs:
pip install -r python/requirements.txt

- name: Run script
id: script
env:
COOKIE: ${{ secrets.COOKIE }}
PUSH_SERVER: ${{ secrets.PUSH_SERVER }}
Expand All @@ -54,9 +55,13 @@ jobs:
LOG_LEVEL: ${{secrets.LOG_LEVEL || 'INFO'}}
run: |
set +e
python python/scripts/daily_auto.py > /tmp/msg
python python/scripts/daily_auto.py > /tmp/msg 2>&1
status=$?
cat /tmp/msg
echo "QUESTION_IDS=$(grep 'Add question:' /tmp/msg | cut -d '[' -f 6 | cut -d ']' -f 1 | tr '\n' ' ' | sed 's/ $//')" >> $GITHUB_ENV
echo "question lines: $(grep 'Add question:' /tmp/msg)"
echo "question ids: $(grep 'Add question:' /tmp/msg | cut -d '[' -f 6 | cut -d ']' -f 1)"
echo "QUESTION_IDS=$(grep 'Add question:' /tmp/msg | cut -d '[' -f 6 | cut -d ']' -f 1 | tr '\n' ' ' | sed 's/ $//')"
exit $status

- name: Commit files
Expand All @@ -68,7 +73,9 @@ jobs:
echo "No changes to commit"
exit 0
fi
git commit -m "test: [$(TZ=Asia/Shanghai date +%Y%m%d)] Add daily LeetCode problem"
cat /tmp/msg
echo "question_ids: ${{ env.QUESTION_IDS }}"
git commit -m "test: [$(TZ=Asia/Shanghai date +%Y%m%d)] Add (${{ env.QUESTION_IDS }})"

- name: Push changes
run: |
Expand Down
2 changes: 1 addition & 1 deletion .github/workflows/daily_check.yml
Original file line number Diff line number Diff line change
Expand Up @@ -25,7 +25,7 @@ jobs:
go.mod
go.sum
pom.xml
WORKSPACE
MODULE.bazel
tsconfig.json
package.json
jest.config.ts
Expand Down
4 changes: 3 additions & 1 deletion .github/workflows/release.yml
Original file line number Diff line number Diff line change
@@ -1,7 +1,9 @@
name: Semantic Release

on:
push:
workflow_dispatch:
pull_request:
types: [closed]
branches:
- master

Expand Down
2 changes: 1 addition & 1 deletion .gitignore
Original file line number Diff line number Diff line change
@@ -1,5 +1,6 @@
.name
.idea/
.cache/
__pycache__/
.env
python/dev/tmp*
Expand All @@ -10,7 +11,6 @@ bazel-bin
bazel-LeetCode
bazel-out
bazel-testlogs
MODULE.bazel
MODULE.bazel.lock
bazel-LeetCode/
/bazel-LeetCode/
Expand Down
Loading