Vibe Engines
YouTube
LEARNING PATH · Foundations

The 4-Week Interview Sprint

For engineers with a loop on the calendar and four weeks to prepare.

Intermediate ~5h 45m18 lessons18 steps

A dense, ordered sprint: week one drills the coding patterns, week two the harder graph and DP problems, week three switches to system design, and week four handles the behavioral round, resume and offer. Every coding step is runnable.

  • Pattern-match coding problems instead of re-deriving them
  • Implement the graph and DP patterns interviewers reuse
  • Run a 45-minute system-design round with structure
  • Tell tight behavioral stories and negotiate the offer
0 / 18 done · 0%
  1. ChallengeNext up

    Two Sum

    Week 1 — warm up and the hashing pattern.

  2. Algorithm

    The Closing Gap: Two Pointers

    The two-pointer pattern, visualized.

  3. Challenge

    Valid Parentheses

    Stacks, the interview way.

  4. Algorithm

    The Moving Frame: Sliding Window

    The window pattern that turns O(n²) into O(n).

  5. Challenge

    3Sum

    Combine sorting with two pointers.

  6. Algorithm

    Binary Search: The Vault

    Week 2 — the pattern hiding in half of all “optimize” questions.

  7. Algorithm

    BFS: The Flood

    Grid and graph traversal — BFS.

  8. Algorithm

    Build Order: DFS & Topological Sort

    DFS plus ordering dependencies.

  9. Challenge

    Dijkstra’s Shortest Paths

    Shortest path, implemented.

  10. Algorithm

    The Loaded Bag: 0/1 Knapsack

    The DP pattern interviewers love.

  11. Algorithm

    Fill the Grid, Walk It Back: Longest Common Subsequence

    The other DP they love — and diffing.

  12. Challenge

    LRU Cache

    The most-asked design-flavored coding question.

  13. Handbook

    The System Design Fundamentals Handbook

    Week 3 — switch gears: the SD vocabulary.

  14. System Design

    Design a URL Shortener

    A gentle full-loop system-design walkthrough.

  15. Handbook

    50 System Design Interview Questions

    How to run the 45-minute SD round.

  16. Handbook

    The Behavioral Interview Handbook

    Week 4 — STAR stories that don’t ramble.

  17. Handbook

    The Resume & Portfolio Handbook

    Get past the screen.

  18. Handbook

    The Salary Negotiation Handbook

    Don’t leave money on the table.

How this path works

This path is for engineers who already have an interview loop booked and about four weeks to get ready, usually for a mid-level or senior software role with coding, system design and behavioral rounds. It assumes you have programmed professionally and studied algorithms at some point, even years ago. Treat it as triage rather than a full curriculum: it skips breadth on purpose.

A standard loop tests three different skills, often on the same day. Coding rounds check whether you can turn a recognized pattern into correct, tested code in 30 to 45 minutes while explaining yourself. The design round checks whether you can drive an open-ended problem: clarify requirements, estimate scale, sketch components, then defend trade-offs. The behavioral round looks for specific stories that show ownership, conflict handling and judgment, and the offer that follows can be negotiated.

The weeks run from the most frequently tested material to the most deferrable. Week one covers the array patterns that early screens draw on: hashing, two pointers, stacks, sliding windows and 3Sum. Week two is harder, with binary search on answers, graph traversal, Dijkstra, two dynamic-programming tables and LRU Cache, because those build on week-one habits. Week three switches to design while you keep coding warm, and week four covers stories, the resume and negotiation, which take hours rather than weeks.

What each step gives you

  1. Two Sum

    The sprint opens on the most familiar warm-up for a reason: one pass with a value-to-index hash map turns an O(n²) pair search into O(n), and the habit of asking what to remember while scanning returns all month. Solve it, then state both complexities aloud and check the duplicate case, exactly as you will need to in a real screen.

  2. The Closing Gap: Two Pointers

    On a sorted array, a left and a right pointer close in from both ends, moving whichever side makes the sum too small or too large, so one pass replaces the double loop with no hash map at all. The pair_sum exercise is the base for Two Sum II, Container With Most Water and Valid Palindrome, and it sets up 3Sum at the end of the week.

  3. Valid Parentheses

    Bracket matching with a stack: push openers, check each closer against the top, and require an empty stack at the end. In week one it adds the last-in, first-out pattern to your set, and it rewards a fast, clean solution because interviewers often use it as a warm-up before Min Stack, Decode String or evaluating an expression.

  4. The Moving Frame: Sliding Window

    Find the best run of k consecutive numbers by adding the element that enters and subtracting the one that leaves, instead of re-summing every window. The fixed-window max_sum exercise is the first step toward the variable windows in Longest Substring Without Repeating Characters and Minimum Window Substring, where the window grows and shrinks under a condition.

  5. 3Sum

    Find every unique triplet that sums to zero by sorting, fixing one number, and running two pointers over the rest while skipping duplicates at all three positions. It closes week one because it combines two patterns and punishes sloppy duplicate handling, which makes it a fair test of whether the week has stuck, with 3Sum Closest and 4Sum as natural follow-ups.

  6. Binary Search: The Vault

    Week two starts with binary search, played as a vault you crack by halving a sorted window, then written as the exact loop against hidden tests. Push past the array version: the same template solves Koko Eating Bananas, Search in Rotated Sorted Array and minimum-capacity questions, where what is sorted is the space of possible answers.

  7. BFS: The Flood

    Breadth-first search spreads from the start one ring at a time with a FIFO queue, so the first visit to any cell is its shortest distance on an unweighted grid, and the page races it against DFS to show why depth-first gives no such guarantee. Use the runnable code as your template for Rotting Oranges, Shortest Path in Binary Matrix and multi-source BFS problems.

  8. Build Order: DFS & Topological Sort

    Depth-first search with white, gray and black colors finishes each task after everything it depends on, so reversing the finish order gives a build order, and meeting a gray node mid-recursion proves a cycle. That is the whole of Course Schedule I and II, and Kahn's in-degree queue, covered alongside, is worth having ready when the interviewer asks for a second method.

  9. Dijkstra’s Shortest Paths

    Here you implement Dijkstra rather than watch it: tentative distances, the unsettled node with the smallest distance chosen next, relaxation along each outgoing edge, and -1 for anything unreachable. Passing the hidden tests prepares you for Network Delay Time, Path With Minimum Effort and cheapest-route variants, plus the questions about negative weights that usually follow.

  10. The Loaded Bag: 0/1 Knapsack

    The 0/1 knapsack fills a table where each cell decides take it or leave it for one item at one capacity, then traces back to recover the choice. Writing the one-dimensional dp[c] version, sweeping capacity downward so each item is used once, prepares you for Partition Equal Subset Sum, Target Sum and Last Stone Weight II.

  11. Fill the Grid, Walk It Back: Longest Common Subsequence

    LCS fills a grid where a match extends the diagonal and a mismatch takes the larger neighbor, then backtracks to recover the subsequence itself, the same idea diff tools use. The lcs_length exercise is the template for Edit Distance, Longest Palindromic Subsequence and Shortest Common Supersequence, the two-string table questions interviewers return to often.

  12. LRU Cache

    Build a fixed-capacity cache that evicts the least recently used key, where get and put must both run in O(1), which forces you to pair a hash map with a doubly linked list or an ordered dictionary. It ends the coding weeks because it sits between coding and design, so expect follow-ups on thread safety, expiry times and how an LFU policy would differ.

  13. The System Design Fundamentals Handbook

    Week three opens with the vocabulary the design round assumes: CAP and consistency models, concurrency and locking, partitioning and replication, consensus, stateless services and horizontal scaling, and back-of-the-envelope estimation. Read it until you can define each term in one sentence and name the trade-off it implies, because interviewers probe vocabulary through follow-up questions rather than direct ones.

  14. Design a URL Shortener

    A full design built step by step: minting short codes with base62, choosing between 301 and 302 redirects, caching because reads dwarf writes, sharding billions of rows, and a queue for click analytics. Walk it once as a reader, then redo it on a blank page in 45 minutes as the candidate, since it is one of the most common warm-up prompts in design rounds.

  15. 50 System Design Interview Questions

    Fifty questions with answers short enough to say aloud, across requirements, load balancing, caching, databases, consistency, messaging, reliability and design scenarios, opening with the four moves that structure a 45-minute round. Rehearse those moves on every prompt this week: clarify scope, estimate scale, sketch the architecture, then deep-dive the one or two components the constraints make interesting.

  16. The Behavioral Interview Handbook

    Week four starts with what the behavioral round measures, the STAR structure with a worked example, and how to build a story bank that flexes across leadership, conflict, failure and ambiguity questions. Draft five or six stories and rehearse each to about two minutes, so that a prompt like tell me about a time you disagreed with your manager gets a specific answer rather than a generality.

  17. The Resume & Portfolio Handbook

    Your resume has two readers, an applicant tracking system that scores keyword coverage against the job description and a human who skims for impact, and this handbook shows how to satisfy both, including scoring your resume the way the machine does. Update it now even with a loop booked: it frames the stories you tell, and any applications you send in parallel will need it.

  18. The Salary Negotiation Handbook

    The last step covers the offer: why countering is almost always a positive expected-value bet, how your best alternative gives you leverage, why a higher starting number compounds, and how to actually make the ask. Prepare your numbers before the final round, because the question about your expectations often arrives before the offer does.

A study plan

  1. Week 1

    Two Sum, Two Pointers, Valid Parentheses, Sliding Window and 3Sum, one a day, with one day for review. Time each first attempt and aim for 25 minutes, then solve two outside problems per pattern. On the last day, re-solve all five from a blank editor and write each complexity without looking.

  2. Week 2

    Binary search, BFS, topological sort, the Dijkstra challenge, knapsack, LCS and LRU Cache. This is the heaviest week, so pair each step with one similar problem rather than three. Run a 45-minute mock with an unseen medium problem midweek and another at the end, explaining aloud the whole time.

  3. Week 3

    Read System Design Fundamentals, walk the URL shortener, then work through the 50 system design questions. Run two full mock design rounds on prompts you have not studied, using the four moves, and keep 30 minutes of coding every day so the first two weeks do not fade.

  4. Week 4

    Build your story bank from the behavioral handbook, update your resume, and prepare your negotiation numbers. Rehearse each story aloud until it lands in about two minutes. In the last two days, stop learning new material: do one light coding warm-up a day and sleep properly before the loop.

Questions about this path

Is four weeks enough to prepare for a technical interview?

Four weeks is enough to get sharp if you already program professionally and have met the core data structures before; it is tight if algorithms are new to you. The constraint is hours rather than days: an hour or two on weeknights plus longer weekend sessions covers this path with time left for mock interviews. If your loop is only two weeks away, keep the two coding weeks, compress design into a few evenings, and draft three behavioral stories instead of six.

How should I split my time between coding and system design?

It depends on the level. For junior and mid-level roles, coding rounds usually carry more weight, so spend roughly two thirds of your time there. For senior roles, the design and behavioral rounds often decide the level of the offer, so a more even split makes sense. This sprint gives coding the first two weeks and keeps a short daily coding session in week three; shift the balance if your recruiter tells you how the rounds are weighted.

What should I do the day before a coding interview?

Review rather than learn. Re-solve two or three problems you already know well, skim your notes on patterns and complexities, and read your behavioral stories aloud once. Check the logistics too: the video tool, the coding environment, a quiet room and a glass of water. Then stop early and sleep. Cramming a new topic the night before rarely helps and tends to shake confidence, while a rested mind recognizes patterns faster.

How do I prepare for a behavioral interview quickly?

Write a story bank of five or six specific situations from your work, each in STAR form, situation, task, action and result, with a measurable result where you have one. Pick stories that flex, so one incident can answer questions about ownership, conflict or failure depending on how you frame it. Rehearse each aloud to about two minutes, and prepare two or three real questions for each interviewer. The behavioral handbook in week four walks through the structure with a worked example.

Should I negotiate a job offer?

In most cases, yes. A polite, specific counter backed by market data or a competing offer rarely costs anything, and the difference carries into every future raise. Ask for time to consider, then reply with a concrete number and a reason, in writing or on a call. The salary negotiation handbook in week four explains why the downside of asking is close to zero, how a strong alternative changes your leverage, and how to phrase the ask without sounding adversarial.

With a loop on the calendar and four weeks to prepare, focus beats breadth. This path is a sequenced sprint across the algorithms, system design, and behavioral topics the interview actually tests — a concrete week-by-week plan so you spend your limited time on what moves the needle, not on everything at once.

← All learning paths