An AI-powered learning system designed to help you master coding patterns instead of just grinding problems. Learn smarter, not harder.
Patterns over Problems: Understanding 10 patterns deeply is better than memorizing 100 solutions.
Recognition over Memorization: Train your brain to identify patterns in seconds, not minutes.
AI-Assisted Learning: Use Claude/AI as your personal coding coach for guided learning.
This repository contains:
- 10 Core Coding Patterns with templates and recognition guides
- 100 Curated Problems strategically ordered for learning
- AI Coach System for guided, Socratic learning
- Progress Tracking with spaced repetition
- Code Templates for quick reference
- Logs & Analytics to track your improvement
leetcode-coach/
βββ README.md # You are here
βββ MAIN_COACH.md # AI assistant configuration
βββ QUICK_START.md # Get started in 5 minutes
β
βββ patterns/ # Pattern deep-dives
β βββ 01-two-pointers.md
β βββ 02-sliding-window.md
β βββ 03-fast-slow-pointers.md
β βββ 04-binary-search.md
β βββ 05-tree-dfs.md
β βββ 06-tree-bfs.md
β βββ 07-graph-traversal.md
β βββ 08-dynamic-programming.md
β βββ 09-backtracking.md
β βββ 10-heap.md
β
βββ templates/ # Code templates
β βββ python-templates.md
β βββ javascript-templates.md
β βββ java-templates.md
β
βββ problems/ # Problem organization
β βββ problem-bank.md # All 100 problems
β βββ by-pattern/ # Organized by pattern
β β βββ two-pointers.json
β β βββ sliding-window.json
β β βββ ...
β βββ by-difficulty/ # Organized by difficulty
β βββ easy.json
β βββ medium.json
β βββ hard.json
β
βββ progress/ # Track your learning
β βββ learning-log.md # Weekly progress
β βββ pattern-progress.json # Pattern mastery data
β βββ stats.json # Overall statistics
β
βββ solved/ # Your solutions
β βββ two-pointers/
β β βββ lc-167-two-sum-ii.py
β β βββ lc-15-3sum.py
β βββ sliding-window/
β βββ ...
β
βββ logs/ # Detailed logs
β βββ daily/ # Daily session logs
β β βββ 2026-02-13.json
β β βββ ...
β βββ analytics/ # Performance metrics
β βββ time-tracking.json
β βββ pattern-recognition-speed.json
β
βββ config/ # Configuration
β βββ settings.json # User preferences
β βββ ai-prompts.md # Effective prompts
β
βββ ui/ # Future UI (optional)
βββ dashboard/ # Learning dashboard
βββ pattern-trainer/ # Interactive pattern trainer
βββ analytics/ # Progress visualizations
git clone https://github.com/yourusername/leetcode-coach.git
cd leetcode-coachOption A: AI-Guided Learning (Recommended)
# Upload MAIN_COACH.md to Claude.ai
# Say: "Deep dive Two Pointers pattern"
# Start solving problems from problems/problem-bank.mdOption B: Self-Guided Learning
# Read patterns/01-two-pointers.md
# Solve problems from problems/by-pattern/two-pointers.json
# Log progress in progress/learning-log.md# Update progress/learning-log.md after each session
# Review progress/pattern-progress.json weekly
# Maintain spaced repetition schedule| Weeks | Patterns | Problems | Goal |
|---|---|---|---|
| 1-2 | Two Pointers | 10 | Master opposite & same-direction pointers |
| 2-3 | Sliding Window | 10 | Master variable & fixed-size windows |
| 3-4 | Binary Search | 10 | Master search space reduction |
| 4-5 | Fast & Slow | 10 | Master cycle detection & finding middle |
| 5-6 | Tree DFS | 10 | Master recursive tree patterns |
| 6-7 | Tree BFS | 10 | Master level-order traversal |
| 7-9 | Graph Traversal | 10 | Master DFS/BFS on graphs |
| 9-11 | Dynamic Programming | 10 | Master overlapping subproblems |
| 11-12 | Backtracking | 10 | Master constraint satisfaction |
| 12 | Heap/PQ | 10 | Master priority-based problems |
Pattern Study (20 min)
- Deep dive one pattern
- Study template and recognition guide
- Watch explanatory video
Guided Practice (40 min)
- Problem 1: AI guides, you implement
- Problem 2: You identify pattern, AI validates
- Problem 3: Fully independent
Spaced Repetition (30 min)
- Review previous patterns
- Solve 1 problem from each mastered pattern
- Upload
MAIN_COACH.mdto start a new chat - Use prompts from
config/ai-prompts.md - Follow the Socratic learning approach
"Analyze this problem but don't solve it: [problem]"
"Show me the template for Two Pointers pattern"
"I'm stuck on [part], give me a hint without the answer"
"Review my solution and suggest improvements"
- β Recognize pattern in <30 seconds
- β Code template from memory
- β Solve 5+ problems independently
- β Explain time/space complexity
- β Identify 3 similar problems
progress/learning-log.md- After each sessionprogress/pattern-progress.json- After completing a patternlogs/daily/YYYY-MM-DD.json- Daily session data
If you want to build a web UI:
- Frontend: React + TypeScript + Tailwind
- Backend: Node.js + Express (optional)
- Storage: Local JSON files or Firebase
- Charts: Recharts or D3.js
- Code Editor: Monaco Editor or CodeMirror
- Problem tracker with status
- Pattern progress dashboard
- Spaced repetition scheduler
- Time tracking per problem
- Pattern recognition speed graph
- Problems solved over time
- Difficulty distribution chart
- Weak pattern identifier
- Pattern quiz/flashcards
- Code template library
- AI prompt helper
- Mock interview simulator
- Share progress with friends
- Compare with community
- Custom pattern creation
- Integration with LeetCode API
This is a personal learning repository, but feel free to:
- Fork it for your own learning
- Suggest improvements via issues
- Share your learning insights
- Contribute additional patterns or problems
MIT License - Use it however helps your learning!
- LeetCode for the problem platform
- Anthropic's Claude for AI-assisted learning
- The programming community for pattern wisdom
Having issues or questions?
- Check
QUICK_START.mdfor common questions - Review
config/ai-prompts.mdfor effective AI usage - Open an issue on GitHub
Start Date: February 13, 2026
Target Completion: May 15, 2026
Current Progress: 0/10 patterns mastered
Remember: Quality over quantity. Master patterns, don't just solve problems!