Each day (ideally) we'll attempt the daily leetcode 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.

📆 Date | ⚙️ Problem | 📝 Link to notes | 🚦 Difficulty |
---|---|---|---|
July 1, 2024 | 1550 | Click here | 🟢 Easy |
July 2, 2024 | 350 | Click here | 🟢 Easy |
July 3, 2024 | 1509 | Click here | 🟡 Medium |
July 4, 2024 | 2181 | Click here | 🟡 Medium |
July 5, 2024 | 2058 | Click here | 🟡 Medium |
July 6, 2024 | 2582 | Click here | 🟢 Easy |
July 7, 2024 | 1518 | Click here | 🟢 Easy |
July 8, 2024 | 1823 | Click here | 🟡 Medium |
July 9, 2024 | 1701 | Click here | 🟡 Medium |
July 10, 2024 | 1598 | Click here | 🟢 Easy |
July 11, 2024 | 1190 | Click here | 🟡 Medium |
July 12, 2024 | 1717 | Click here | 🟡 Medium |
July 13, 2024 | 2751 | Click here | 🔴 Hard |
July 14, 2024 | 726 | Click here | 🔴 Hard |
July 15, 2024 | 2196 | Click here | 🟡 Medium |
July 16, 2024 | 2096 | Click here | 🟡 Medium |
July 17, 2024 | 1110 | Click here | 🟡 Medium |
July 18, 2024 | 1530 | Click here | 🟡 Medium |
July 19, 2024 | 1380 | Click here | 🟢 Easy |
July 20, 2024 | 1605 | Click here | 🟡 Medium |
July 21, 2024 | 2392 | Click here | 🔴 Hard |
July 22, 2024 | 2418 | Click here | 🟢 Easy |
July 23, 2024 | 1636 | Click here | 🟢 Easy |
July 24, 2024 | 2191 | Click here | 🟡 Medium |
July 25, 2024 | 912 | Click here | 🟡 Medium |
July 26, 2024 | 1334 | Click here | 🟡 Medium |
July 27, 2024 | 2976 | Click here | 🟡 Medium |
July 28, 2024 | 2045 | Click here | 🔴 Hard |
July 29, 2024 | 1395 | Click here | 🟡 Medium |
July 30, 2024 | 1653 | Click here | 🟡 Medium |
July 31, 2024 | 1105 | Click here | 🟡 Medium |
August 1, 2024 | 2678 | Click here | 🟢 Easy |
August 2, 2024 | 2134 | Click here | 🟡 Medium |
August 3, 2024 | 1460 | Click here | 🟢 Easy |
August 4, 2024 | 1508 | Click here | 🟡 Medium |
August 5, 2024 | 2053 | Click here | 🟢 Easy |
August 6, 2024 | 3016 | Click here | 🟡 Medium |
August 7, 2024 | 273 | Click here | 🔴 Hard |
August 8, 2024 | 885 | Click here | 🟡 Medium |
August 9, 2024 | 840 | Click here | 🟡 Medium |
August 10, 2024 | 959 | Click here | 🟡 Medium |
August 11, 2024 | 1568 | Click here | 🔴 Hard |
August 12, 2024 | 703 | Click here | 🟢 Easy |
August 13, 2024 | 40 | Click here | 🟡 Medium |
If you're a member of our lab and/or a Dartmouth community member, feel free to join our Slack channel to discuss daily leetcode problems!
- Start by forking this repository. Or if you've already forked this repository, you should visit your fork and make sure to click the button to sync it up with this (source) repository.
- 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 of the table above and you should see a markdown (.md) file named for your GitHub username. Edit that to add your notes!
- If you're the "build-it-yourself" type, it's also OK to create your notes file manually. Just navigate to the problems folder and click the Add file button on the right. Choose the Create new file option:
- File name:
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's solution to problem 350 would be namedproblems/350/jeremy.md
- Contents: Any format is fine, but we suggest starting with our template file. 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).
- File name:
- Once you've added your file(s), start a pull request to add your changes to the ContextLab repository so that others can see how you approached the problem.
The table listing each day's problems and links to our solutions should be updated automatically via this action (run each day at 00:01 UTC, which is 1 minute after the daily problems are released). Sometimes it's a little late.
You can work through problems "live" in our Slack channel. To make comments on a specific solution, make suggestions for this repository in general, etc., consider filing an issue.