Expert on spaced repetition for interview prep. Explains the color-coding system (gray/orange/yellow/green), review schedules, eligibility thresholds, and the daily selection algorithm. Use when discussing problem colors, review timing, retention strategies, or how the spaced repetition system works.
Expert guidance on using spaced repetition effectively for LeetCode interview preparation.
The app uses an Anki-style color system to track problem mastery:
Moving Forward:
Moving Backward (Regression):
Problems become eligible for review based on color and time since last attempt:
| Color | Threshold | Reasoning |
|---|---|---|
| Gray | Always eligible | New problems always available |
| Orange | 3+ days | Short interval for recent learning |
| Yellow | 7+ days | Medium interval for consolidation |
| Green | 14+ days | Long interval for maintenance |
Key Principle: The better you know a problem, the longer you wait before reviewing it.
The system creates a balanced daily practice set using these ratios:
For a typical 5-problem daily session:
50% New (Gray): 2-3 problems
40% Review (Orange/Yellow): 2 problems
10% Mastered (Green): 0-1 problem
Day 1:
- 2 Gray (new)
- 2 Orange (review from 3+ days ago)
- 1 Yellow (review from 7+ days ago)
Day 15:
- 3 Gray (new)
- 1 Orange (review)
- 1 Green (maintenance from 14+ days ago)
3 problems/day (minimum effective dose):
5 problems/day (recommended):
7+ problems/day (intensive prep):
If you have many eligible reviews piling up:
Be honest and strict with yourself:
Group problems by pattern and learn them together:
Mix different patterns in daily practice:
If a color feels too easy:
Spaced repetition leverages:
The goal is to review each problem just before you would forget it - maximizing retention while minimizing review time.