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.md
Option 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!