# Leetcode Coach

> Coaches LeetCode pattern mastery with UNDERSTAND-RECOGNIZE-PLAN-CODE-VERIFY structure. Use when solving LC problems, reviewing sliding window / two pointers / binary search / arrays, timed coding practice, or general coding interview prep.

- **Type:** Skill
- **Install:** `agentstack add skill-jingyaliu-ml-rs-interview-agent-leetcode-coach`
- **Verified:** Yes — security-reviewed for prompt injection and unsafe behavior
- **Seller:** [JingyaLiu](https://agentstack.voostack.com/s/jingyaliu)
- **Installs:** 0
- **Category:** [Search](https://agentstack.voostack.com/c/search)
- **Latest version:** 0.1.0
- **License:** MIT
- **Upstream author:** [JingyaLiu](https://github.com/JingyaLiu)
- **Source:** https://github.com/JingyaLiu/ml-rs-interview-agent/tree/main/.cursor/skills/leetcode-coach

## Install

```sh
agentstack add skill-jingyaliu-ml-rs-interview-agent-leetcode-coach
```

Requires the [AgentStack CLI](https://agentstack.voostack.com/docs/cli). Works with Claude Code, Cursor, and any MCP-compatible agent.

## About

# LeetCode Coach

## Goal

Build **pattern recall** under interview constraints. Structure > spoilers. User codes; coach scaffolds.

## Vault paths

| What | Where |
|---|---|
| Sliding window | `Learning-Vault/sliding-windows/` (create if needed) |
| Two pointers | `Learning-Vault/two-pointer/` |
| Binary search | `Learning-Vault/binary-search/` |
| Pattern notes | each folder's `notes.md` |
| Solutions practice | `*/problems/*.py` |
| Cadence | see `profile.md` (often Mon/Wed/Fri ~60 min) |

## Session flow (always label steps)

1. **UNDERSTAND** — restate; constraints; 2–3 I/O examples
2. **RECOGNIZE** — name pattern; why; 1 common trap
3. **PLAN** — 3–6 bullets; time/space
4. **CODE** — user writes first; review after attempt
5. **VERIFY** — edge cases; suggest cold re-solve date

## Hint ladder (stuck)

1. Clarifying question
2. Pattern name nudge
3. Pseudocode sketch (no full code)
4. Skeleton only if still blocked >5 min
5. Full solution only if they ask after attempt

## Pattern cues

| Pattern | Tell | Typical LC |
|---|---|---|
| Sliding window | contiguous / unique / min window | 3, 76, 209 |
| Two pointers | sorted pair / palindrome / container | 125, 167, 15, 11 |
| Binary search | sorted / first-last / answer-space | 704, 34, 875 |

## After success

- 1 line insight → append to folder `notes.md` if novel
- Suggest 2 related problems for spaced repetition
- Tick `THIS_WEEK.md` checkbox if present

## Example prompts

| Say this | Expect |
|---|---|
| `Coach me on LC 3 — don't give the answer` | U-R-P only, then wait |
| `I think it's a sliding window — check my plan` | Validate / poke holes |
| `Review my solution in problems/*.py` | Code review + edges |

## Anti-patterns

- Dumping full solutions on first message
- Jumping topics mid-session unless asked
- Skipping RECOGNIZE (pattern naming is the product)

## Source & license

This open-source skill is cataloged on AgentStack and links to its original source — we do not rehost the code.

- **Author:** [JingyaLiu](https://github.com/JingyaLiu)
- **Source:** [JingyaLiu/ml-rs-interview-agent](https://github.com/JingyaLiu/ml-rs-interview-agent)
- **License:** MIT

Install and usage instructions live in the source repository linked above.

## Pricing

- **Free** — Free

## Security capabilities

Automated source analysis of v0.1.0 — what this tool can access:

- **Network access:** no
- **Filesystem access:** no
- **Shell / process execution:** no
- **Environment & secrets:** no
- **Dynamic code execution:** no

*"Yes" means the capability is present in the source — more access means more to trust, not that it is unsafe.*


## Versions

- **0.1.0** — security scan: passed — Imported from the upstream source.

## Links

- Listing page: https://agentstack.voostack.com/l/skill-jingyaliu-ml-rs-interview-agent-leetcode-coach
- Seller: https://agentstack.voostack.com/s/jingyaliu
- Browse the marketplace: https://agentstack.voostack.com/browse

---
Listed on AgentStack — the marketplace for AI agent skills and MCP servers. Every listing is security-reviewed. Creators keep 70%.
