Coding Practice Routine
Use this routine only when your recruiter confirms coding rounds — or as light maintenance (1–2 hours/week) during any principal prep cycle.
Decision Tree
Light Maintenance (1–2 hrs/week)
For loops without dedicated coding (Amazon, most AWS, many enterprise):
| Activity | Time | Details |
|---|---|---|
| One design-adjacent problem | 45 min | From problem bank — explain aloud |
| One lab exercise | 30 min | Rate limiter or idempotent API |
| Review one code snippet | 15 min | Find bugs in retry/lock sample |
Intensive Block (2–4 weeks, Google-style)
When: Recruiter confirms 1–2 coding rounds.
| Week | Focus | Problems / activities |
|---|---|---|
| 1 | Foundations refresh | Rate limiter, LRU, idempotent handler — implement in lab |
| 2 | Medium algorithms | 3 problems: array/hash, tree/BFS, heap — medium only |
| 3 | Hybrids | Design+coding: autocomplete, consistent hash, merge K streams |
| 4 | Mocks | 2× Coding Mock Interview; taper |
Volume: 3 problems per week maximum — quality and explanation over quantity.
Weekly Schedule (fits 12-week sprint)
Integrate with Weekly Study Routine:
| Day | Coding activity (if applicable) |
|---|---|
| Tuesday | Replace generic algorithms with one design-adjacent problem |
| Thursday | Lab: 008 or 011 |
| Friday | 30 min timed pseudo-code (one problem, think aloud) |
| Sunday | Optional: one LeetCode medium if Google coding confirmed |
12-Week Sprint Integration
| Weeks | Coding focus |
|---|---|
| 1–7 | None — distributed systems and design priority |
| 8–9 | Coding maintenance — 3 medium problems/week if coding expected |
| 10–11 | One coding mock + review weak patterns |
| 12 | Taper — cheat sheet review only |
Language Choice
- Use the language listed on the job description or confirm with recruiter
- Python is acceptable at most companies for architecture roles
- If IDE round: know standard library for collections, heaps, hashing
- Consistency matters more than language novelty
Tracking
Update progress/skills-matrix.yaml with a coding_interview topic when you add it, or note completion in progress/completed-topics.yaml:
completed:
- coding-preparation/design-adjacent-problems
- coding-preparation/coding-mock-interview
Resources (External)
Use sparingly — prefer this portal's problem bank and labs:
- LeetCode — medium problems only; tags: heap, hash table, tree BFS
- NeetCode / Blind 75 — optional shortcut list
- Do not spend 40+ hours on hard DP unless recruiter explicitly tests it
Success Criteria
Before your onsite (if coding confirmed):
- Can implement rate limiter + idempotent handler in 25 minutes each
- Can state time/space complexity without hesitation
- Can name 3 edge cases per problem before coding
- Completed at least one timed coding mock with peer feedback
- Read target company guide coding section
Related
Interview + Game Day readiness
Coding prep includes Weekly LLD + game day rotation tied to production patterns. Targets the Production LLD and Game Day Standard at interview depth—connect leadership and prep chapters to production reasoning and tabletop game days.
Game Day tabletop drills
| Drill | Inject | Detect | Mitigate | Verify |
|---|---|---|---|---|
| GD-CP-1 | 'What if Redis dies?' | Verbal fallback | DLQ / degrade path | Correctness preserved |
| GD-CP-2 | Hot partition inject | Candidate detects | Consistent hashing | Throughput restored |