N
Nudge

Learn technical interviews
inside your editor.

Nudge is an AI LeetCode coach for students and engineers preparing for coding interviews. The Chrome extension notices your progress and gives adaptive inline hints and approach feedback while you solve problems—without revealing the full solution. It works directly on LeetCode, and your editor code is shared only when you explicitly type @code.

Code
Python3Auto
aA
1class Solution:
2def coinChange(self, coins, amount):
3dp = [amount + 1] * (amount + 1)
4dp[0] = 0
5
6for i in range(1, amount + 1):
7for c in coins:
8if c i:
9// Nudge: what does dp[i-c] represent here?
10dp[i] = min(dp[i], dp[i-c] + 1)
11
12return dp[amount] if dp[amount] ≤ amount else -1
SavedLn 10, Col 55
N
Nudge
Problem: Coin Change
CodingMedium02:00
What's your plan for this one? One or two sentences is fine.
Bottom-up DP. dp[i] = min coins for amount i.
Nice. What's your recurrence for dp[i] in terms of smaller subproblems?
Ask for a hint, talk through your approach, or debug an edge case…
Type @code to include your editor.
HELPING CANDIDATES PREP FOR INTERVIEWS AT
CanvaStripeGoogleFigmaMeta
The problem with how you're prepping

Stop jumping straight to solutions.
Stay in the problem longer.

WITHOUT NUDGE

Stuck. Open six tabs.
Copy. Forget tomorrow.

solution-walkthrough.io/coin-change×
github.com/coding-patterns/dp/coin-change.py×
ai-chat.app/c/dp-help-coin-change×
WHAT YOU REMEMBER TOMORROW

A vague feeling that it was DP. The shape of someone else's loop. The pattern, not the reasoning.

WITH NUDGE

Stay with it.
Build the reasoning yourself.

9dp[i] = min(dp[i],dp[i - c] + 1)
10// Nudge: what does dp[i-c] need to be true for this to work?
11
One question, right where you're stuck.
WHAT YOU REMEMBER TOMORROW

Why dp[i-c] has to already be solved before dp[i]. The reasoning, not the pattern.

01 · Inline hints

A single line of context,
right where the cursor is.

Never the answer. Always the next question worth asking. Nudge writes itself in as a comment in your code, so it's there when you need it and invisible when you don't.

Code
Python3Auto
aA
1class Solution:
2def coinChange(self, coins, amount):
3dp = [amount + 1] * (amount + 1)
4dp[0] = 0
5
6for i in range(1, amount + 1):
7for c in coins:
8if c i:
9// Nudge: what does dp[i-c] represent here?
10dp[i] = min(dp[i], dp[i-c] + 1)
11
12return dp[amount] if dp[amount] ≤ amount else -1
SavedLn 10, Col 55
Context aware

Nudge reads what you wrote and points at the specific line that's off — without ever naming the fix.

You stay in control

Ask for more, peek at the answer, or dismiss. Nothing reveals itself until you choose.

Hints that adapt to where you are.

The same line of code gets a different nudge depending on how you got there. Planning, stuck, or almost done.

PLANNINGJust opened
1class Solution:
2def coinChange(coins, n):
3// Nudge: what's your approach?

When you're starting fresh, Nudge asks for your planned approach.

STUCK2m idle on line 9
5dp = [0] * (n+1)
6for i in range(1, n+1):
7for c in coins:
8if ci:
9dp[i] = min(dp[i],dp[i-c]+1)
10// Nudge: is dp[i-c] ready?
11
12return dp[n]

When you've been still too long, Nudge points at a sub-question, not the answer.

CLOSEOne test failing
8if ci:
9dp[i] = min(dp[i],dp[i-c]+1)
10
11if dp[n] > n:
12return -1
13// Nudge: handle n == 0?
14return dp[n]

When you're nearly there, Nudge surfaces the one edge case you haven't named yet.

N
Nudge
Problem: Coin Change
CodingMedium02:00
can you explain the approach a bit more?
Sure. Let's trace through a small example with your code: coins = [1,2], amount = 3.
Walk me through what happens in your loops step by step. What does dp look like after each i?
what about my @code now?
Your code has a subtle issue: you're using dp[i] inside the inner loop before it's properly initialized for that i.
dp[i] = min(dp[i], dp[i - c] + 1)
When i=1 and c=1, what is dp[1] at the moment you call min(dp[1], …)?
Ask for a hint, talk through your approach, or debug an edge case…
Type @code to include your editor.

A coach who talks with you, not at you.

The side panel is for thinking out loud. Walk through your plan, pressure-test an edge case, or pull your live code into the chat with @code.

  • Walks you through your approach, one question at a time
  • Surfaces edge cases before you write a single line
  • Aims to teach you, not solve it for you
How it works

Three steps, then you forget it's there.

STEP 01

Install on desktop

Add Nudge to Chrome, Arc, or Brave on your computer. It attaches to LeetCode with no setup.

STEP 02

Open a problem

Nudge wakes up next to your editor and reads the problem. Your editor code is shared only when you explicitly type @code.

STEP 03

Stay in the problem

When you stall, you get a question, not an answer. The pattern stays with you because you arrived at it.

Pricing

Start free. Go Pro when you're ready.

1 · Guest
Try 10 hints on 1 problem—no account.
2 · Free account
Sign in with Google for 30 hints on 2 problems.
3 · Pro
Upgrade for unlimited coaching and @code.
Guest + Free account
Start without signup, then unlock more free coaching
Free
  • 10 guest hints on 1 problem / day
  • 30 hints on 2 problems / day with sign-in
  • Side panel
  • Inline hints
Pro
For full prep season
$9 / mo
  • Unlimited questions
  • Unlimited hints
  • Side panel
  • @code when you choose to share editor context
  • Inline hints

Stop copying.
Start understanding.

Install Nudge and finish your next problem the slow way — the way you'll remember.

CHROME · ARC · BRAVE · NO ACCOUNT REQUIRED
About

Why I built Nudge

I'm a third-year computer science student, and like a lot of people grinding LeetCode, I kept running into the same problem.

I'd get stuck and basically have two options: stare at the problem for another 30 minutes hoping something clicked, or give up and watch someone else solve it. The first was frustrating. The second usually meant I understood the solution while watching it, but couldn't recreate the reasoning myself the next day.

I wanted something in between, a small push when I needed it, without taking the problem away from me.

So I built Nudge for myself.

It gives you the kind of hint I always wanted while practising: enough to get you moving again, but not enough to rob you of figuring it out yourself.

If you're grinding technical interviews too, I hope it helps.