export function twoSum(
numbers: number[],
target: number,
): [number, number] {
// Your implementation here.
throw new Error('TODO');
}For an upcoming JavaScript or TypeScript coding round
Your interview is close.
The question bank is still endless.
Skip the 150-problem roadmap. Refresh 15 common patterns in seven or 14 days, using your own editor and terminal.
$15 once · No account · No subscription · No code upload
Quality of practice, not problem count
Practice recognizing the pattern, not remembering yesterday’s answer.
Choose one exercise, attempt it under time, use a hint only when needed, then return after a scheduled gap.
two-sum: Two Sum (core · 20 min)
Attempt started. Open solution.ts in your editor.
✗ returns indices whose values add to the target
What value would complete the current number to reach the target?
✓ Solved independently. Review scheduled tomorrow
Two Sum
Return the indices of two different values whose sum equals the target.
Recognition cue
You need a pair and can derive the missing value while scanning once.
A route you can finish
Open the folder. Know what to practice next.
typescript-interview-sprint/
- ├── GETTING-STARTED.md
- ├── 7-DAY-SPRINT.md
- ├── 14-DAY-SPRINT.md
- ├── PATTERNS.md
- ├── problems/ 15 exercises
- ├── progress/ local JSON
- └── src/cli/grind.ts
No daily selection problem
Follow a seven-day or 14-day route instead of deciding among hundreds of questions.
Feedback in your terminal
Run typed starter code against tests without learning another browser workspace.
Repeat after a real gap
Reviews return after 1, 3, 7, 14, and 30 days to test retrieval.
Your work stays yours
Your solutions, notes, and progress stay in the downloaded folder.
Use this when
Your coding round is approaching and you want a small, structured refresher.
Do not buy this for
Learning TypeScript from zero or preparing the complete frontend interview loop.
Reasonable objections
Know exactly what this replaces, and what it does not.
Why not use a free question bank?
Use one when you want breadth. This pack is for a short deadline: a fixed route, local TypeScript files, tests, hints, and scheduled review without choosing the next problem.
Will 15 exercises make me interview-ready?
No product can guarantee that. These exercises refresh eight common pattern families. They do not cover every question or every interview format.
Are complete solutions included?
No. You receive starters, tests, reflection prompts, and three staged hints. The goal is to retrieve an approach, not copy one.
What do I need?
You should already know basic TypeScript. You also need macOS, Linux, or Windows, Bun 1.2 or later, and any text editor.
Does this cover frontend interviews?
Only the coding-pattern portion. It does not cover React, user-interface coding, browser APIs, system design, behavioral rounds, or company-specific questions.
What support is included?
Support covers broken downloads, installation defects, incorrect tests, and reproducible command errors. It does not include coaching or solution review.
Check the fit before you pay
Try the actual workflow on one complete exercise.
No email wall. Inspect the brief, starter, tests, hints, CLI, and reflection prompt.