claude-with-leetcode

agent
Security Audit
Fail
Health Warn
  • License — License: MIT
  • Description — Repository has a description
  • Active repo — Last push 0 days ago
  • Low visibility — Only 5 GitHub stars
Code Fail
  • rm -rf — Recursive force deletion command in .github/workflows/daily-repo-status.lock.yml
  • process.env — Environment variable access in .github/workflows/daily-repo-status.lock.yml
  • fs module — File system access in addProblem.js
  • network request — Outbound network request in addProblem.js
  • child_process — Shell command execution capability in detectNewProblems.js
  • execSync — Synchronous shell command execution in detectNewProblems.js
  • fs module — File system access in detectNewProblems.js
  • child_process — Shell command execution capability in dsaMentor.js
  • execSync — Synchronous shell command execution in dsaMentor.js
  • process.env — Environment variable access in dsaMentor.js
  • fs module — File system access in dsaMentor.js
  • network request — Outbound network request in dsaMentor.js
Permissions Pass
  • Permissions — No dangerous permissions requested

No AI report is available for this listing yet.

SUMMARY

Daily Leetcode masterclass with Claude code DSA mentor

README.md
DSA Mentor Banner

Claude with LeetCode

Build README
Problems Solved
C%2B%2B
Java
Python
Rust

A little assistant from Claude to help you learn daily LeetCode problems organised by DSA topic and difficulty.

Table of Contents

Structure

claude-with-leetcode/
├── .github/
│   └── workflows/                      ← CI/CD pipelines
├── .vscode/                            ← editor settings
├── cpp/                                ← C++ solutions
├── dcc/                                ← additional solution set
├── java/
│   └── 2-add-two-numbers/              ← Java solutions
├── python/
│   └── 1-two-sum/                      ← Python solutions
├── rust/
│   └── 1-two-sum/                      ← Rust solutions
├── skills/                             ← Claude agent skill definitions
├── study_plan/
│   └── leetcode75/
│       └── cpp/                        ← LeetCode 75 study plan solutions
├── .gitattributes
├── .gitignore
├── .prettierrc
├── .problemSiteData.json               ← problem metadata store
├── CLAUDE.md                           ← Claude DSA mentor agent config
├── README.md                           ← auto-generated, do not edit
├── README_template.md                  ← README template
├── addProblem.js                       ← manually add a problem entry
├── detectNewProblems.js                ← detects newly committed files
├── dsaMentor.js                        ← triggers Claude DSA mentor agent
├── package.json
├── syncLeetcode.js                     ← fetches data from LeetCode
├── updateSiteData.js                   ← scans dirs and updates metadata
├── updateTable.js                      ← rebuilds README from template
└── verifySiteData.js                   ← verifies solution URLs

How It Works

Every hour a GitHub Actions workflow runs automatically:

updateSiteData.js       scan language dirs, rename files, update .problemSiteData.json
↓
verifySiteData.js       verify all solution URLs return 200
↓
detectNewProblems.js    detect newly committed solution files since last run
↓
dsaMentor.js            trigger Claude DSA mentor agent to generate lecture & GitHub Issue
↓
syncLeetcode.js         fetch latest problem metadata from LeetCode
↓
updateTable.js          rebuild README from README_template.md
↓
git push                commit changes via bot account

Adding a new solution:

  1. Add the problem entry to .problemSiteData.json
  2. Drop your solution file in the correct language folder — e.g. cpp/0001-two-sum.cpp
  3. The workflow picks it up automatically on the next run and updates the README

Solution file naming:

{problem-number}-{leetcode-url-slug}.{extension}
e.g. 0001-two-sum.cpp

Legend:

Symbol Meaning
✔️ Solved
Not yet solved
Badge Meaning
🟢 Easy Easy difficulty
🟡 Medium Medium difficulty
🔴 Hard Hard difficulty

Problem List

Arrays & Hashing

Problem Difficulty C++ Java Python Rust
0001 - Two Sum 🟢 Easy

Linked List

Problem Difficulty C++ Java Python Rust
0002 - Add Two Numbers 🟡 Medium

String

Problem Difficulty C++ Java Python Rust
0006 - Zigzag Conversion 🟡 Medium
1456 - Maximum Number of Vowels in a Substring of Given Length 🟡 Medium
2390 - Removing Stars From a String 🟡 Medium
0214 - Shortest Palindrome 🔴 Hard
1392 - Longest Happy Prefix 🔴 Hard
2223 - Sum of Scores of Built Strings 🔴 Hard

Array

Problem Difficulty C++ Java Python Rust
0219 - Contains Duplicate II 🟢 Easy
0724 - Find Pivot Index 🟢 Easy
2248 - Intersection of Multiple Arrays 🟢 Easy
2574 - Left and Right Sum Differences 🟢 Easy
3633 - Earliest Finish Time for Land and Water Rides I 🟢 Easy
1493 - Longest Subarray of 1's After Deleting One Element 🟡 Medium
1567 - Maximum Length of Subarray With Positive Product 🟡 Medium
2352 - Equal Row and Column Pairs 🟡 Medium
3635 - Earliest Finish Time for Land and Water Rides II 🟡 Medium

Hash Table

Problem Difficulty C++ Java Python Rust
0424 - Longest Repeating Character Replacement 🟡 Medium
1358 - Number of Substrings Containing All Three Characters 🟡 Medium
1657 - Determine if Two Strings Are Close 🟡 Medium

Math

Problem Difficulty C++ Java Python Rust
3751 - Total Waviness of Numbers in Range I 🟡 Medium
3753 - Total Waviness of Numbers in Range II 🔴 Hard

Uncategorized

Problem Difficulty C++ Java Python Rust
3940 - Limit Occurrences in Sorted Array 🟢 Easy

Reviews (0)

No results found