Sandbox
@Stewie-pixel/claude-with-leetcode

Claude-guided LeetCode solution library

This repo hosts LeetCode solutions organized by language, topic, and contest, with Claude used as a daily DSA mentor. The README frames it as a learning library and problem list, not a tool you install into your agent workflow.

85 starsβ€’28 forksβ€’C++β€’Updated 7d ago
Who it's for

Builders who want to study LeetCode problems with Claude-backed explanations and multi-language solutions.

What it delivers

You can review solved problems and DSA breakdowns without starting from a blank page.

What it does

Daily LeetCode solution updates

New problem solutions are added over time, with a problem list that grows as the repo updates.

Language-organized solution folders

Solutions are grouped into folders such as `cpp/`, `c/`, and other supported languages.

Claude-assisted problem guidance

The project uses Claude to provide hints and structural breakdowns for LeetCode problems.

Contest and topic organization

Problems are grouped by DSA topics and contest folders like weekly and biweekly contests.

Problem generation script

`addProblem.js` supports adding new problems into the repo structure.

README

DSA Mentor Banner

Claude with LeetCode

LeetCode Build Problems Solved Claude Solved GitHub Release License: MIT Sponsor

C C%2B%2B C%23 Go Java JavaScript Kotlin Python Ruby Rust TypeScript

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

This repo hosts solutions to all problems found on Leetcode with the help of Claude. The site will be updated daily with new solutions under problem list!


Currently support these languages:

Python, Java, JavaScript, C++, Go, C#, TypeScript, Rust, Kotlin, Ruby, C

Solutions are also welcome for any other supported language on leetcode.com!

🎬 Demo

Demo

πŸ“Š GitHub Stats

Alt

πŸ’» Table of Contents

πŸš€ Features

🌐 Universal LeetCode Catalog Support

This repository organizes and compiles daily solutions for the entire universe of LeetCode questions, spanning everything from foundational array tasks to the most advanced dynamic programming problems found in weekly contests

πŸ€– Intelligent AI Mentorship

Get granular, structural breakdown hints and optimal code logic recommendations from Claude without spoiling the core algorithmic logic upfront.

πŸ”„ Multi-Language Synchronization

Automatically track and synchronize your multi-language solutions across comprehensive tech stacks including C++, Java, Python, Rust, and JavaScript.

πŸ“‚ Automated Categorization

Zero manual cataloging required. The system automatically parses multi-topic tags and maps individual problems out into relevant, consolidated DSA pattern matrices.

πŸ—ΊοΈ Roadmap

πŸ”„ Continuous Solution Stream

  • Maintain daily LeetCode coding challenge updates across C++, Java, Python, Rust, and JavaScript
  • Comprehensive tracking and solution mapping for all Weekly and Biweekly programming contests
  • Expand alternative optimal pattern variations for advanced dynamic programming structures

πŸ› οΈ Developer Tooling & Integration

  • Mirabile CLI GitHub workflow integration to seamlessly guide developers through issue creation
  • Standardized Pull Request onboarding automation to assist external contributors during code submission
  • Implement automated execution verification hooks to validate runtime complexity statistics

πŸ“’ Share with the Community

If this project is helping you crush your technical interviews, share it with your network and help others level up their algorithmic skills.

Twitter/X Reddit LinkedIn Dev.to Facebook Instagram

🀝 Contributing

Contributions are what make the open-source community such an amazing place to learn, inspire, and create. Any contributions you make are greatly appreciated. Please fork the repository, make your feature modifications on a standalone branch, and open a clean Pull Request against the main branch.

See our Contributing Guide for development setup, coding standards, and how to submit pull requests.

πŸ’– Thanks to our Contributors

A massive thank you to everyone helping maintain, optimize, and expand this data structure and algorithm sandbox.

Contributors Graph

πŸ“„ License

Distributed under the MIT License. See LICENSE for more information.

⚑ Problem List

Array

ProblemDifficultyCC++C#GOJavaJSKotlinPythonRubyRustTS
0001 - Two Sum🟒 Easy
❌
❌
❌
❌
❌
❌
❌
0014 - Longest Common Prefix🟒 Easy
❌
❌
❌
❌
❌
❌
❌
❌
❌
❌
0035 - Search Insert Position🟒 Easy
❌
❌
❌
❌
❌
❌
❌
❌
❌
0118 - Pascal's Triangle🟒 Easy
❌
❌
❌
❌
❌
❌
❌
❌
❌
0219 - Contains Duplicate II🟒 Easy
❌
❌
❌
❌
❌
❌
❌
❌
❌
❌
0349 - Intersection of Two Arrays🟒 Easy
❌
❌
❌
❌
❌
❌
❌
❌
❌
❌
0463 - Island Perimeter🟒 Easy
❌
❌
❌
❌
❌
❌
❌
❌
❌
❌
0500 - Keyboard Row🟒 Easy
❌
❌
❌
❌
❌
❌
❌
❌
❌
❌
0628 - Maximum Product of Three Numbers🟒 Easy
❌
❌
❌
❌
❌
❌
❌
❌
❌
❌
0724 - Find Pivot Index🟒 Easy
❌
❌
❌
❌
❌
❌
❌
❌
❌
❌
0746 - Min Cost Climbing Stairs🟒 Easy
❌
❌
❌
❌
❌
❌
❌
❌
❌
❌
0860 - Lemonade Change🟒 Easy
❌
❌
❌
❌
❌
❌
❌
❌
❌
❌
1260 - Shift 2D Grid🟒 Easy
❌
❌
❌
❌
❌
❌
❌
❌
❌
❌
1331 - Rank Transform of an Array🟒 Easy
❌
❌
❌
❌
❌
❌
❌
❌
❌
❌
1464 - Maximum Product of Two Elements in an Array🟒 Easy
❌
❌
❌
❌
❌
❌
❌
❌
❌
❌
1732 - Find the Highest Altitude🟒 Easy
❌
❌
❌
❌
❌
❌
❌
❌
❌
1967 - Number of Strings That Appear as Substrings in Word🟒 Easy
❌
❌
❌
❌
❌
❌
❌
❌
❌
❌
1979 - Find Greatest Common Divisor of Array🟒 Easy
❌
❌
❌
❌
❌
❌
❌
❌
❌
❌
2144 - Minimum Cost of Buying Candies With Discount🟒 Easy
❌
❌
❌
❌
❌
❌
❌
❌
❌
2248 - Intersection of Multiple Arrays🟒 Easy
❌
❌
❌
❌
❌
❌
❌
❌
❌
❌
❌
2574 - Left and Right Sum Differences🟒 Easy
❌
❌
❌
❌
❌
❌
❌
❌
❌
❌
2996 - Smallest Missing Integer Greater Than Sequential Prefix Sum🟒 Easy
❌
❌
❌
❌
❌
❌
❌
❌
❌
❌
3069 - Distribute Elements Into Two Arrays I🟒 Easy
❌
❌
❌
❌
❌
❌
❌
❌
❌
❌
3471 - Find the Largest Almost Missing Integer🟒 Easy
❌
❌
❌
❌
❌
❌
❌
❌
❌
❌
3512 - Minimum Operations to Make Array Sum Divisible by K🟒 Easy
❌
❌
❌
❌
❌
❌
❌
❌
❌
❌
3633 - Earliest Finish Time for Land and Water Rides I🟒 Easy
❌
❌
❌
❌
❌
❌
❌
<sub

Files in the repo

Repository payloadβ€’41 top-level entries
  • .github
  • .vscode
  • assets
  • c
  • contest
  • cpp
  • csharp
  • dcc
  • docs
  • go
  • java
  • javascript
  • kotlin
  • python
  • ruby
  • rust
  • scripts
  • skills
  • study_plan
  • typescript
  • .gitattributes
  • .gitignore
  • .prettierrc
  • .problemSiteData.json
  • addProblem.js
  • CHANGELOG.md
  • CLAUDE.md
  • CODE_OF_CONDUCT.md
  • CONTRIBUTING.md
  • detectNewProblems.js
  • dsaMentor.js
  • LICENSE
  • package-lock.json
  • package.json
  • README_template.md
  • README.md
  • SECURITY.md
  • syncLeetcode.js
  • updateSiteData.js
  • updateTable.js
  • verifySiteData.js

Discussion (0)

Ask about usage, or say what you built with it

Sign in to join the discussion.

No comments yet. Be the first to say what this is good for.

More other

🎨 Best DeepSeek Harness Design Plugin. The open-source Claude Design alternative. πŸ–₯️ Local-first desktop app. πŸ–ΌοΈ Your coding agent becomes the design engine: prototypes, landing pages, dashboards, slides, images & video β€” real files, HTML/PDF/PPTX/MP4 export. πŸ€– Claude Code / Codex / Cursor / DeepSeek Harness / OpenCode & 20+ CLIs via BYOK.

95k
HKUDS/
Vibe-Trading

"Vibe-Trading: Your Personal Trading Agent"

33k
tinyhumansai/
openhuman

OpenHuman is an open source personal AI for Mac, Windows and Linux β€” local-first memory, agent orchestration, and deep research.

40k

Your Personal AI Assistant; easy to install, deploy on your own machine or on the cloud; supports multiple chat apps with easily extensible capabilities.

35k

AIPOCH Open-Science is an open-source, local-first, model-agnostic AI research workbench for macOS, Windows, and Linux, with scientific agents, Python/R notebooks, data connectors, and reproducible provenance.

4k