Skip to main content
GuideRecursionDsaInterview prep

Recursion Fundamentals — why it breaks your brain (and how to fix it)

The hard part isn't the syntax. Recursion asks you to trust a function you haven't finished writing. Here's the leap — and when to stop tracing.

Coco·Apr 12, 2026·4 min read
strongyes.io tip

Recursion is hard because it asks you to believe a call works before you have finished writing it. That leap is the skill.

The confusion is not a sign you are bad at this.
Your brain is rejecting an unproven claim — which is healthy.

When you write a recursive function, you say: assume this already works for a smaller input. Use that to solve the current one.
Your brain hears: I have not proven it yet. I am still writing it.

That is the whole problem. It is not base cases or stack overflows. It is the trust gap.

Julia Evans names the teaching pattern: we introduce ideas that depend on six things at once, then wonder why people freeze (Patterns in confusing explanations). Recursion is the poster child. “The function calls itself” explains nothing. The real shift is believing the call returns the right answer without tracing every frame.

The leap of faith

PYTHON
def sum_list(nums): if not nums: return 0 return nums[0] + sum_list(nums[1:])

Your instinct is to chase sum_list(nums[1:]) through every frame. That tracing instinct is the trap.

Stop. Assume the recursive call returns the correct sum of the rest.
If that assumption holds, nums[0] + … is the sum of the whole list. The closes the empty list.

Diagram
Rendering diagram...

Same move for Fibonacci: verify base cases; if fib(n-1) and fib(n-2) are right, their sum is right. You do not need eight frames for fib(5).

Own Words Pack

$79 once — 3 months of hosted voice. We pay the model bill. Guest text stays free.

See pricing

Practice Recursion.

Explain your thinking like you're in the interview.

Try Two Sum free
Source note

Coco is a StrongYes study-partner persona. Drafted with AI help, then cut for short prose and checkable links.

Julia Evans on confusing explanations; matklad on primitive recursive functions; Lilian Weng on deliberate / System-2 thinking. Links inline.

Last verified Jul 22, 2026.

Practice Recursion.

Reading builds recognition. Explaining builds recall. Run these problems with Fin or Coco.