This repository has been archived by the owner on Feb 23, 2024. It is now read-only.
-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
Showing
3 changed files
with
34 additions
and
16 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,16 @@ | ||
name: Create diagram | ||
on: | ||
workflow_dispatch: {} | ||
push: | ||
branches: | ||
- main | ||
jobs: | ||
get_data: | ||
runs-on: ubuntu-latest | ||
steps: | ||
- name: Checkout code | ||
uses: actions/checkout@master | ||
- name: Update diagram | ||
uses: githubocto/repo-visualizer@main | ||
with: | ||
excluded_paths: "ignore,.github" |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,18 +1,5 @@ | ||
# Leetcode | ||
|
||
My leetcode solutions in Rust | ||
My leetcode solutions | ||
|
||
|
||
## Usage | ||
|
||
Every directory under `problems/` is a cargo project which contains some basic test cases. | ||
|
||
The whole project is a cargo workspace, | ||
so all solutions can be tested using `cargo test` from repository root | ||
|
||
|
||
## Common | ||
|
||
The workspace contains a `common` crate which is used in tests | ||
and also contains leetcode-compatible definitions of common data structures, | ||
like `TreeNode` and `ListNode` | ||
![Visualization of this repo](./diagram.svg) |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,3 +1,18 @@ | ||
# Leetcode | ||
|
||
My leetcode solutions | ||
My leetcode solutions in Rust | ||
|
||
|
||
## Usage | ||
|
||
Every directory under `problems/` is a cargo project which contains some basic test cases. | ||
|
||
The whole project is a cargo workspace, | ||
so all solutions can be tested using `cargo test` from repository root | ||
|
||
|
||
## Common | ||
|
||
The workspace contains a `common` crate which is used in tests | ||
and also contains leetcode-compatible definitions of common data structures, | ||
like `TreeNode` and `ListNode` |