You've solved 200 practice problems. You know sliding window cold. Then the interviewer says "talk me through your thinking," the timer starts, and your mind goes white.
You didn't forget sliding window. You hit a skill you never trained.
Solving and narrating are two different jobs
When you grind problems alone, you solve in silence. Your brain jumps ahead, backtracks, tries things, and nobody sees the mess.
In an interview, you have to do all of that while producing clear sentences for another person. That's two processes fighting for the same working memory. Under a timer, narration wins and problem solving starts to stall. That stall is the blank.
The fix isn't more problems. It's practicing the narration itself until it runs on autopilot, so your working memory is free for the actual thinking.
The 6-step narration script
Memorize this. Not the words, the order. It gives your mouth something to do while your brain catches up.
1. RESTATE "So I'm given X, and I need to return Y." 2. EXAMPLES "Let me try a small case... and an edge case: empty input." 3. BRUTE "The naive way is ___, which is O(___). Let me improve it." 4. OPTIMIZE "The repeated work is ___. I can avoid it with ___." 5. CODE Narrate intent, not syntax: "Now I shrink the window." 6. TEST Walk your example through the code. Then state complexity. Step 3 is the one people skip, and it's the most useful. Saying the brute force out loud buys you 30 seconds, shows you understand the problem, and very often reveals the optimization by itself.
A worked example
Problem: longest substring without repeating characters.
Here's what talking through it sounds like, with the narration as comments.
Restate: "Given a string, return the length of the longest substring with no repeated characters."
Examples: "abcabcbb" gives 3 ("abc"). "" gives 0. "bbbb" gives 1.
Brute: "I could check every substring and test it for duplicates. That's O(n³), or O(n²) with a set. Too slow for long strings."
Optimize: "When I hit a duplicate, I don't need to restart from scratch. I just move the left edge past the earlier copy. That's a sliding window, one pass."
def length_of_longest_substring(s: str) -> int: # "I'll track the last index where I saw each character." last_seen = {} left = 0 best = 0 for right, ch in enumerate(s): # "If this char is already inside my window, # jump the left edge past its last position." if ch in last_seen and last_seen[ch] >= left: left = last_seen[ch] + 1 last_seen[ch] = right # "Window is left..right inclusive, so its size is right - left + 1." best = max(best, right - left + 1) return best Test: "On abcabcbb: window grows to abc, size 3. At the second a, left jumps to index 1. The window keeps sliding, never beats 3. Returns 3. Empty string skips the loop and returns 0."
Complexity: "O(n) time, one pass. O(k) space where k is the alphabet size."
Notice the comments describe intent, not syntax. Nobody needs to hear "now I write a for loop." They need to hear why.
The drill: 25 minutes, three times a week
Reading the script won't make it automatic. Saying it will.
00:00 Pick one medium problem you have NOT solved before. 00:02 Start a voice recorder. Start a 20-minute timer. 00:02 Solve it out loud using the 6 steps. Don't pause the recording. If you get stuck, say what you're stuck on. Out loud. 00:22 Stop. Listen back at 1.5x speed. 00:25 Score yourself on three questions: - Did I say the brute force before optimizing? - Was there any silence longer than 10 seconds? - Did I state time and space complexity unprompted? Long silences are the metric to watch. In a real interview, 10 seconds of quiet feels like a minute to both sides. The goal of the drill is to replace those gaps with "I'm considering X because Y."
After two weeks, most people notice the script starts running by itself. That's the point. Once narration is automatic, the blank mostly goes away, because your brain isn't juggling two jobs anymore.
Two things the solo drill can't give you
Recording yourself covers a lot. It misses two things:
- An interviewer who asks back. "Why a hashmap and not an array?" "What if the input is a stream?" Follow-ups are where real interviews get hard, and you can't surprise yourself.
- A review when you're stuck. If you blank on the optimization, you need to see a clean approach afterwards, not just the code. Why the window works, and what the complexity is.
Power Interview AI covers both. It's a desktop app (not a browser extension) with a mock interviewer that asks questions out loud, listens to your spoken answers, and gives you a scored report you can export.
Mock interview mode. Real app, sample data.
For coding practice, you can screenshot a problem and get an approach, code and complexity breakdown, which is useful for checking your work after a drill.
Screenshot in, approach, code and complexity out. Note the "say out loud" line at the bottom. Real app, sample data.
A few practical details, since developers always ask:
- Nothing to connect. The model is included, no keys or setup.
- Tailored to you. Questions use your CV and the job description.
- The client is open source on GitHub, if you want to read what's running on your machine.
- Desktop app, not a browser extension. Device settings stay on your machine.
- Windows today, macOS coming soon.
- 1 free hour, no card. Paid plans are prepaid and never auto-renew.
It's built for practice and for interviews that allow AI tools. Use it to build the reps, then walk in and do it yourself.
TL;DR
- Blanking is a working memory problem: solving and narrating at once.
- Use the 6-step script: restate, examples, brute, optimize, code, test.
- Always say the brute force first.
- Drill out loud, recorded, three times a week. Watch for silences over 10 seconds.
- Add an interviewer that asks follow-ups once the basics feel automatic.
If you want to try the mock interviewer on your next drill, the first hour is free:
powerinterviewai.com/mock-interview
Power Interview AI is built by VectorLeap Pulse Innovation LTD. Source: https://github.com/PowerInterviewAI/client-app



![[Gemini in Action] Dev.to Text & Image Translator: Redrawing Chinese Screenshots with Nano Banana Pro & Gemini 4 Neon as Judge](https://media2.dev.to/dynamic/image/width=800%2Cheight=%2Cfit=scale-down%2Cgravity=auto%2Cformat=auto/https%3A%2F%2Fdev-to-uploads.s3.us-east-2.amazonaws.com%2Fuploads%2Farticles%2Fmqgw1txph1efru186j3r.jpg)

