Skip to content

Commit 8269620

Browse files
Update README.md
1 parent 3640f4e commit 8269620

File tree

1 file changed

+9
-6
lines changed

1 file changed

+9
-6
lines changed

README.md

Lines changed: 9 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -2,6 +2,9 @@
22

33
Each day (ideally) we'll attempt the daily [leetcode](https://leetcode.com) problem. We'll make a new folder for each day's problem. Anyone who wants can submit a markdown file, iPython notebook, etc. with their notes, questions, solutions, test cases, or other problem-related files.
44

5+
<img src="https://github.com/ContextLab/leetcode-solutions/assets/9030494/867a1f48-19c9-4f71-967e-88c032d9a52d" width="350" height="350"/>
6+
7+
58
# Problems we've attempted so far:
69

710
| 📆 Date | ⚙️ Problem | 📝 Link to notes | 🚦 Difficulty |
@@ -19,17 +22,17 @@ If you're a member of [our lab](https://www.context-lab.com/) and/or a [Dartmout
1922

2023
# Submit your own notes and/or solution(s)
2124

22-
1. Start by [forking](https://github.com/ContextLab/leetcode-solutions/fork) this repository.
23-
2. In your fork, navigate to the [problems](https://github.com/ContextLab/leetcode-solutions/new/main/problems) folder and click the **Add file** button on the right. Choose the **Create new file** option:
24-
- File name: `leetcode-solutions/problems/<PROBLEM NUMBER>/<your name>.md` (where you should replace `<PROBLEM NUMBER>` with the leetcode problem ID code, and `<your name>` with either your first name or your GitHub username (your choice!), in lowercase letters. E.g., [Jeremy](https://www.context-lab.com/people)'s solution to problem 350 would be named `leetcode-solutions/blob/main/problems/350/jeremy.md`
25-
- Contents: Any format is fine, but we suggest starting with our [template file](https://github.com/ContextLab/leetcode-solutions/blob/main/problems/template.md). Then add your notes/solution as you solve the problem! Make sure to commit your changes (and it's fine to make multiple commits as you're working on the problem).
25+
1. Start by [forking](https://github.com/ContextLab/leetcode-solutions/fork) this repository. Or if you've already forked this, visit your fork and make sure to click the button to sync it up with this (source) repository.
26+
2. In your fork, in the menu near the top click on **Actions** to open up the GitHub Actions list. Then click on **Create New Note for Daily LeetCode Problem** and then click **Run workflow** to create your new notes file for today's problem. Click the link to the notes on today's problem in the last row [table above](https://github.com/ContextLab/leetcode-solutions#problems-weve-attempted-thus-far) and you should see a markdown (.md) file named for your GitHub username. Edit that to add your notes!
27+
- If you're the "build it yourself" type, it's also OK to create your notes file manually. Just navigate to the [problems](https://github.com/ContextLab/leetcode-solutions/new/main/problems) folder and click the **Add file** button on the right. Choose the **Create new file** option:
28+
- File name: `leetcode-solutions/problems/<PROBLEM NUMBER>/<your name>.md` (where you should replace `<PROBLEM NUMBER>` with the leetcode problem ID code, and `<your name>` with either your first name or your GitHub username (your choice!), in lowercase letters. E.g., [Jeremy](https://www.context-lab.com/people)'s solution to problem 350 would be named `leetcode-solutions/blob/main/problems/350/jeremy.md`
29+
- Contents: Any format is fine, but we suggest starting with our [template file](https://github.com/ContextLab/leetcode-solutions/blob/main/problems/template.md). Then add your notes/solution as you solve the problem! Make sure to commit your changes (and it's fine to make multiple commits as you're working on the problem).
2630
3. Once you've added your file, start a [pull request](https://github.com/ContextLab/leetcode-solutions/pulls) to add it into the ContextLab fork so that others can see how you approached the problem.
2731
4. Also make sure that the problem has been added to the [table](https://github.com/ContextLab/leetcode-solutions#problems-weve-attempted-thus-far). If you're the first one to work on a problem, you'll need to add a row for it. Problems should be listed in chronological order from top (earliest) to bottom (latest).
2832

2933
# Other stuff
3034

31-
- Click [here](https://github.com/ContextLab/leetcode-solutions/actions/workflows/create_new_note.yml) and then click "Run workflow" to run our shortcut action for creating a new note for the daily problem based on the template.md file. Then click the link to the notes on today's problem in the last row [table above](https://github.com/ContextLab/leetcode-solutions#problems-weve-attempted-thus-far) and you should see a markdown (.md) file named for your GitHub username. Edit that to add your notes!
32-
- The [table](https://github.com/ContextLab/leetcode-solutions#problems-weve-attempted-thus-far) listing each day's problems and links to our solutions *should* be updated automatically via [this action](https://github.com/ContextLab/leetcode-solutions/actions/workflows/update_readme.yml) (run each day at 00:01 UTC, which is 1 minute after the daily problems are released).
35+
The [table](https://github.com/ContextLab/leetcode-solutions#problems-weve-attempted-thus-far) listing each day's problems and links to our solutions *should* be updated automatically via [this action](https://github.com/ContextLab/leetcode-solutions/actions/workflows/update_readme.yml) (run each day at 00:01 UTC, which is 1 minute after the daily problems are released). Sometimes it's a little late. Consider making a cup of tea (🍵) or having a nice snack (🍨) and returning in a few minutes! Bonus: you get a drink and a snack while you're working on the problem!
3336

3437
# Question? Comments? Concerns?
3538

0 commit comments

Comments
 (0)