[AR] Skip to content
[AR] All posts

[AR] Recursion without tears

[AR] by [AR] BagrutAce team[AR] 9 min read

[AR] Most students fail recursion because they think in stack frames instead of contracts. Four steps: base case, shrinking step, recursive contract, composition. Write them down before every solution.

[AR] All posts