Skip to content

Latest commit

 

History

History
213 lines (199 loc) · 45 KB

README.md

File metadata and controls

213 lines (199 loc) · 45 KB

Leetcode problems

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.

Note: Our group is currently taking a break from grinding leetcode. The table below will continue to update automatically, but newer problems likey won't have their solutions provided. Pull requests will still be supported and reviewed if others would like to contribute solutions.

Problems we've attempted so far:

📆 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
August 14, 2024 719 Click here 🔴 Hard
August 15, 2024 860 Click here 🟢 Easy
August 16, 2024 624 Click here 🟡 Medium
August 17, 2024 1937 Click here 🟡 Medium
August 18, 2024 264 Click here 🟡 Medium
August 19, 2024 650 Click here 🟡 Medium
August 20, 2024 1140 Click here 🟡 Medium
August 21, 2024 664 Click here 🔴 Hard
August 22, 2024 476 Click here 🟢 Easy
August 23, 2024 592 Click here 🟡 Medium
August 24, 2024 564 Click here 🔴 Hard
August 25, 2024 145 Click here 🟢 Easy
August 26, 2024 590 Click here 🟢 Easy
August 27, 2024 1514 Click here 🟡 Medium
August 28, 2024 1905 Click here 🟡 Medium
August 29, 2024 947 Click here 🟡 Medium
August 30, 2024 2699 Click here 🔴 Hard
August 31, 2024 1514 Click here 🟡 Medium
September 1, 2024 2022 Click here 🟢 Easy
September 2, 2024 1894 Click here 🟡 Medium
September 3, 2024 1945 Click here 🟢 Easy
September 4, 2024 874 Click here 🟡 Medium
September 5, 2024 2028 Click here 🟡 Medium
September 6, 2024 3217 Click here 🟡 Medium
September 7, 2024 1367 Click here 🟡 Medium
September 8, 2024 725 Click here 🟡 Medium
September 9, 2024 2326 Click here 🟡 Medium
September 10, 2024 2807 Click here 🟡 Medium
September 11, 2024 2220 Click here 🟢 Easy
September 12, 2024 1684 Click here 🟢 Easy
September 13, 2024 1310 Click here 🟡 Medium
September 14, 2024 2419 Click here 🟡 Medium
September 15, 2024 1371 Click here 🟡 Medium
September 16, 2024 539 Click here 🟡 Medium
September 17, 2024 884 Click here 🟢 Easy
September 18, 2024 179 Click here 🟡 Medium
September 19, 2024 241 Click here 🟡 Medium
September 20, 2024 214 Click here 🔴 Hard
September 21, 2024 386 Click here 🟡 Medium
September 22, 2024 440 Click here 🔴 Hard
September 23, 2024 2707 Click here 🟡 Medium
September 24, 2024 3043 Click here 🟡 Medium
September 25, 2024 2416 Click here 🔴 Hard
September 26, 2024 729 Click here 🟡 Medium
September 27, 2024 731 Click here 🟡 Medium
September 28, 2024 641 Click here 🟡 Medium
September 29, 2024 432 Click here 🔴 Hard
September 30, 2024 1381 Click here 🟡 Medium
October 1, 2024 1497 Click here 🟡 Medium
October 2, 2024 1331 Click here 🟢 Easy
October 3, 2024 1590 Click here 🟡 Medium
October 4, 2024 2491 Click here 🟡 Medium
October 5, 2024 567 Click here 🟡 Medium
October 6, 2024 1813 Click here 🟡 Medium
October 7, 2024 2696 Click here 🟢 Easy
October 8, 2024 1963 Click here 🟡 Medium
October 9, 2024 921 Click here 🟡 Medium
October 10, 2024 962 Click here 🟡 Medium
October 11, 2024 1942 Click here 🟡 Medium
October 12, 2024 2406 Click here 🟡 Medium
October 13, 2024 632 Click here 🔴 Hard
October 14, 2024 2530 Click here 🟡 Medium
October 15, 2024 2938 Click here 🟡 Medium
October 16, 2024 1405 Click here 🟡 Medium
October 17, 2024 670 Click here 🟡 Medium
October 18, 2024 2044 Click here 🟡 Medium
October 19, 2024 1545 Click here 🟡 Medium
October 20, 2024 1106 Click here 🔴 Hard
October 21, 2024 1593 Click here 🟡 Medium
October 22, 2024 2583 Click here 🟡 Medium
October 23, 2024 2641 Click here 🟡 Medium
October 24, 2024 951 Click here 🟡 Medium
October 25, 2024 1233 Click here 🟡 Medium
October 26, 2024 2458 Click here 🔴 Hard
October 27, 2024 1277 Click here 🟡 Medium
October 28, 2024 2501 Click here 🟡 Medium
October 29, 2024 2684 Click here 🟡 Medium
October 30, 2024 1671 Click here 🔴 Hard
October 31, 2024 2463 Click here 🔴 Hard
November 1, 2024 1957 Click here 🟢 Easy
November 2, 2024 2490 Click here 🟢 Easy
November 3, 2024 796 Click here 🟢 Easy
November 4, 2024 3163 Click here 🟡 Medium
November 5, 2024 2914 Click here 🟡 Medium
November 6, 2024 3011 Click here 🟡 Medium
November 7, 2024 2275 Click here 🟡 Medium
November 8, 2024 1829 Click here 🟡 Medium
November 9, 2024 3133 Click here 🟡 Medium
November 10, 2024 3097 Click here 🟡 Medium
November 11, 2024 2601 Click here 🟡 Medium
November 12, 2024 2070 Click here 🟡 Medium
November 13, 2024 2563 Click here 🟡 Medium
November 14, 2024 2064 Click here 🟡 Medium
November 15, 2024 1574 Click here 🟡 Medium
November 16, 2024 3254 Click here 🟡 Medium
November 17, 2024 862 Click here 🔴 Hard
November 18, 2024 1652 Click here 🟢 Easy
November 19, 2024 2461 Click here 🟡 Medium
November 20, 2024 2516 Click here 🟡 Medium
November 21, 2024 2257 Click here 🟡 Medium
November 22, 2024 1072 Click here 🟡 Medium
November 23, 2024 1861 Click here 🟡 Medium
November 24, 2024 1975 Click here 🟡 Medium
November 25, 2024 773 Click here 🔴 Hard
November 26, 2024 2924 Click here 🟡 Medium
November 27, 2024 3243 Click here 🟡 Medium
November 28, 2024 2290 Click here 🔴 Hard
November 29, 2024 2577 Click here 🔴 Hard
November 30, 2024 2097 Click here 🔴 Hard
December 1, 2024 1346 Click here 🟢 Easy
December 2, 2024 1455 Click here 🟢 Easy
December 3, 2024 2109 Click here 🟡 Medium
December 4, 2024 2825 Click here 🟡 Medium
December 5, 2024 2337 Click here 🟡 Medium
December 6, 2024 2554 Click here 🟡 Medium
December 7, 2024 1760 Click here 🟡 Medium
December 8, 2024 2054 Click here 🟡 Medium
December 9, 2024 3152 Click here 🟡 Medium
December 10, 2024 2981 Click here 🟡 Medium
December 11, 2024 2779 Click here 🟡 Medium
December 12, 2024 2558 Click here 🟢 Easy
December 13, 2024 2593 Click here 🟡 Medium
December 14, 2024 2762 Click here 🟡 Medium
December 15, 2024 1792 Click here 🟡 Medium
December 16, 2024 3264 Click here 🟢 Easy
December 17, 2024 2182 Click here 🟡 Medium
December 18, 2024 1475 Click here 🟢 Easy
December 19, 2024 769 Click here 🟡 Medium
December 20, 2024 2415 Click here 🟡 Medium
December 21, 2024 2872 Click here 🔴 Hard
December 22, 2024 2940 Click here 🔴 Hard
December 23, 2024 2471 Click here 🟡 Medium
December 24, 2024 3203 Click here 🔴 Hard
December 25, 2024 515 Click here 🟡 Medium
December 26, 2024 494 Click here 🟡 Medium

Join our discussion!

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!

Submit your own notes and/or solution(s)

  1. 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.
  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 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 named problems/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).
  1. 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.

Other stuff

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.

Question? Comments? Concerns?

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.