Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
37 commits
Select commit Hold shift + click to select a range
790daad
feature: bump Catch2 to v3.5.1
Certseeds Jan 6, 2024
0aa479c
feat: bump Catch2 to v3.5.2
Certseeds Feb 25, 2024
661ccd3
feat&bugfix: find real leetcode_235
Certseeds Feb 25, 2024
37d2d65
feat: add golden_0812
Certseeds Feb 26, 2024
f5ebb1f
build: bump Catch2 to v3.5.3
Certseeds Mar 3, 2024
d7a66e4
build: update actions/checkout@v3 and actions/cache@v3 to v4
Certseeds Mar 3, 2024
c4dc1bd
feat: finish new cache algorithm s3-fifo
Certseeds Mar 3, 2024
b5e8407
feat: add const size ringbuffer_queue implement
Certseeds Mar 7, 2024
0be5753
build: bump softprops/action-gh-release to v2 for use node-20
Certseeds Mar 16, 2024
2db549e
feat: update catch2 to v3.6.0
Certseeds Aug 5, 2024
ebe8fe5
feat: time to update running image to ubt-22.04 and ubt-24.04
Certseeds Aug 5, 2024
540a8e7
feat: update catch2 to v3.7.0
Certseeds Aug 14, 2024
155edbb
feat: remove .idea folder and remove idea-file-template in README
Certseeds Sep 14, 2025
68e83ec
feat: bump catch2 to v3.10.0
Certseeds Sep 14, 2025
5c19bd0
refactor: 现在 algorithm/array 目录下的所有 leetcoed_num.cpp 都可以在leetcode上直接s…
Certseeds Sep 14, 2025
94808f3
feat: 更新运行环境到 Ubuntu24.04 gcc13
Certseeds Sep 15, 2025
a4f538f
fix: 修复 gcc13 带来的编译错误
Certseeds Sep 16, 2025
758ba99
feat: 完成 associative_container 目录重构
Certseeds Sep 19, 2025
6f11632
feat: 完成 binary_search 目录重构
Certseeds Sep 15, 2025
6b75006
feat: done disjoint_set
Certseeds Sep 15, 2025
4058325
feat: 重构 分治, 队列, 字符串搜索, 贪心四个目录
Certseeds Sep 16, 2025
3575527
feat: 重构 list 目录
Certseeds Sep 16, 2025
cdd54b9
feat: 现在文件头完全使用 SPDX 进行标注
Certseeds Sep 16, 2025
b135836
feat: 重构 math 目录完成
Certseeds Sep 16, 2025
160b01c
feat: 完成 dp 目录重构
Certseeds Sep 18, 2025
0984d0e
feat: 完成 stack 目录重构
Certseeds Sep 20, 2025
e6f602b
feat: 完成 string 目录重构
Certseeds Sep 20, 2025
a471b6a
feat: 完成重构 tree 目录
Certseeds Sep 20, 2025
25c5a41
fix: 移除冗余的 binary_search/*.hpp
Certseeds Sep 20, 2025
13768ef
feat: 重构 graph 完成, 以及重构部分 header 以适配仓库更名
Certseeds Sep 20, 2025
0f72989
feat: 现在版权声明完全使用 SPDX 风格
Certseeds Sep 20, 2025
b3a8206
fix: 修复构建失败
Certseeds Sep 20, 2025
11f8a81
refactor: 现在测试宏是 `ALGORITHM_TEST_MACRO`
Certseeds Sep 20, 2025
d4408d5
Merge pull request #36 from Certseeds/leetcode-direct-submit
Certseeds Sep 20, 2025
97ea1e1
fix: 修复模板用例中的cstdint, cstddef引用
Certseeds Sep 20, 2025
d920689
build: 更新 workflows , 删除每日构建, 禁用 rust_build
Certseeds Sep 20, 2025
1a8614c
feat: bump version to v0.12.0
Certseeds Sep 20, 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
  •  
  •  
  •  
1 change: 0 additions & 1 deletion .gitattributes
Original file line number Diff line number Diff line change
@@ -1,5 +1,4 @@
###
# @Github: https://github.com/Certseeds/CS203_DSAA_template
# @Author: nanoseeds
# @Date: 2020-07-15 23:48:29
# @LastEditors: nanoseeds
Expand Down
93 changes: 0 additions & 93 deletions .github/workflows/daily.yml

This file was deleted.

14 changes: 7 additions & 7 deletions .github/workflows/pull_request.yml
Original file line number Diff line number Diff line change
Expand Up @@ -15,17 +15,17 @@ jobs:
runs-on: ${{ matrix.os }}
strategy:
matrix:
os: [ ubuntu-20.04, ubuntu-22.04 ]
os: [ ubuntu-24.04 ]
env:
CC: gcc-10
CXX: g++-10
CC: gcc-13
CXX: g++-13
# Steps represent a sequence of tasks that will be executed as part of the job
steps:

# Checks-out your repository under $GITHUB_WORKSPACE, so your job can access it
- name: checkout code
uses: actions/checkout@v3
- uses: actions/cache@v3
uses: actions/checkout@v5
- uses: actions/cache@v4
env:
cache-name: cache-cmake-files
with:
Expand Down Expand Up @@ -105,14 +105,14 @@ jobs:
runs-on: ${{ matrix.os }}
strategy:
matrix:
os: [ ubuntu-20.04, ubuntu-22.04 ]
os: [ ubuntu-24.04 ]

# Steps represent a sequence of tasks that will be executed as part of the job
steps:

# Checks-out your repository under $GITHUB_WORKSPACE, so your job can access it
- name: checkout code
uses: actions/checkout@v3
uses: actions/checkout@v5

# ensure the path and files of project
- name: ensure the path and files of project
Expand Down
32 changes: 18 additions & 14 deletions .github/workflows/release.yml
Original file line number Diff line number Diff line change
Expand Up @@ -16,16 +16,16 @@ jobs:
runs-on: ${{ matrix.os }}
strategy:
matrix:
os: [ ubuntu-20.04, ubuntu-22.04 ]
os: [ ubuntu-24.04 ]
env:
CC: gcc-10
CXX: g++-10
CC: gcc-13
CXX: g++-13
# Steps represent a sequence of tasks that will be executed as part of the job
steps:

# Checks-out your repository under $GITHUB_WORKSPACE, so your job can access it
- name: checkout code
uses: actions/checkout@v3
uses: actions/checkout@v5

- name: hardwares - cpu
run: nproc; cat /proc/cpuinfo
Expand Down Expand Up @@ -78,16 +78,19 @@ jobs:
# This workflow contains a single job called "build"
build:
name: publish release
if: github.repository == 'Certseeds/CS203_DSAA_template'
env:
CC: gcc-13
CXX: g++-13
if: github.repository == 'Certseeds/algorithm-template'
needs: test
# The type of runner that the job will run on
runs-on: ubuntu-22.04
runs-on: ubuntu-24.04
# Steps represent a sequence of tasks that will be executed as part of the job
steps:

# Checks-out your repository under $GITHUB_WORKSPACE, so your job can access it
- name: checkout code
uses: actions/checkout@v3
uses: actions/checkout@v5

- name: Branch name
id: branch_name
Expand Down Expand Up @@ -128,11 +131,11 @@ jobs:
- name: zip the packet
working-directory: ./../
run: |
zip -r script_no_need.zip ./CS203_DSAA_template -x "*/.git/*"
zip -r script_no_need.zip ./algorithm-template -x "*/.git/*"
tree

- name: release
uses: softprops/action-gh-release@v1
uses: softprops/action-gh-release@v2
if: startsWith(github.ref, 'refs/tags/')
with:
files: ./../script_no_need.zip
Expand All @@ -144,18 +147,19 @@ jobs:

release-branch:
name: publish release-branch
if: github.repository == 'Certseeds/CS203_DSAA_template'
env:
CC: gcc-13
CXX: g++-13
if: github.repository == 'Certseeds/algorithm-template'
needs: [ test, build ]
# The type of runner that the job will run on
runs-on: ubuntu-22.04
env:
GCC_V: 11
runs-on: ubuntu-24.04
# Steps represent a sequence of tasks that will be executed as part of the job
steps:

# Checks-out your repository under $GITHUB_WORKSPACE, so your job can access it
- name: checkout code
uses: actions/checkout@v3
uses: actions/checkout@v5

- name: Branch name
id: branch_name
Expand Down
8 changes: 4 additions & 4 deletions .github/workflows/rust_build.yml
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,7 @@ name: Rust Build and Test
# Controls when the action will run. Triggers the workflow on push or pull request
# events but only for the master branch
on:
[ push,pull_request ]
workflow_dispatch:

# A workflow run is made up of one or more jobs that can run sequentially or in parallel
jobs:
Expand All @@ -20,16 +20,16 @@ jobs:
runs-on: ${{ matrix.os }}
strategy:
matrix:
os: [ windows-latest,ubuntu-20.04, ubuntu-22.04 ]
os: [ windows-latest,ubuntu-24.04 ]
# Steps represent a sequence of tasks that will be executed as part of the job
steps:

# Checks-out your repository under $GITHUB_WORKSPACE, so your job can access it
- name: checkout code
uses: actions/checkout@v3
uses: actions/checkout@v5

- name: Cache Packages
uses: actions/cache@v3
uses: actions/cache@v4
with:
path: ~/.cargo
key: ${{ matrix.os }}-rust-toolchain-${{ hashFiles('**/*.toml') }}
Expand Down
2 changes: 1 addition & 1 deletion .github/workflows/test.yml
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,7 @@ jobs:
test:
name: test dev
# The type of runner that the job will run on
runs-on: ubuntu-22.04
runs-on: ubuntu-latest

# Steps represent a sequence of tasks that will be executed as part of the job
steps:
Expand Down
7 changes: 4 additions & 3 deletions .gitignore
Original file line number Diff line number Diff line change
@@ -1,5 +1,4 @@
###
## @Github: https://github.com/Certseeds/CS203_DSAA_template
## @Author: nanoseeds
## @Date: 2020-07-15 23:48:29
## @LastEditors: nanoseeds
Expand Down Expand Up @@ -316,8 +315,6 @@ build/

# idea
.idea/*
!.idea/codeStyles
!.idea/fileTemplates

# File-based project format
*.iws
Expand All @@ -340,3 +337,7 @@ fabric.properties
*.o
*.so
*.exe

##

*.old
1 change: 0 additions & 1 deletion .idea/.gitattributes

This file was deleted.

11 changes: 0 additions & 11 deletions .idea/.gitignore

This file was deleted.

4 changes: 0 additions & 4 deletions .idea/codeStyles/.gitignore

This file was deleted.

17 changes: 0 additions & 17 deletions .idea/codeStyles/Project.xml

This file was deleted.

5 changes: 0 additions & 5 deletions .idea/codeStyles/codeStyleConfig.xml

This file was deleted.

6 changes: 0 additions & 6 deletions .idea/encodings.xml

This file was deleted.

6 changes: 0 additions & 6 deletions .idea/fileTemplates/includes/.gitignore

This file was deleted.

8 changes: 0 additions & 8 deletions .idea/fileTemplates/includes/FILE_HEAD_CPP.h

This file was deleted.

10 changes: 0 additions & 10 deletions .idea/fileTemplates/includes/FILE_HEAD_PY.py

This file was deleted.

7 changes: 0 additions & 7 deletions .idea/fileTemplates/includes/LICENSE_AGPL_CPP.h

This file was deleted.

8 changes: 0 additions & 8 deletions .idea/fileTemplates/includes/LICENSE_AGPL_PY.py

This file was deleted.

8 changes: 0 additions & 8 deletions .idea/fileTemplates/internal/.gitignore

This file was deleted.

Loading