| Step | Action | Time |
|---|---|---|
| 1. Understand | Clarify inputs, outputs, constraints, edge cases | 2-3 min |
| 2. Examples | Work through examples, find patterns | 2-3 min |
| 3. Approach | Identify pattern, discuss tradeoffs | 5-7 min |
| 4. Code | Write clean, modular code | 15-20 min |
| 5. Test | Walk through with examples, fix bugs | 5 min |