Sefism early access is open for X and Instagram followers and university students.Get early access
Guide · Interview PrepFree

Become Master in Recursion

A widely shared LeetCode study guide that teaches recursion by drawing recursive trees and repeatedly asking how to make the input smaller, then applies that approach to a series of problems. Code is mainly in Java with some C++. Work through it before backtracking and dynamic programming, since both build on being comfortable with recursive thinking.

Format

Guide

Topic

Interview Prep

Provider

hi-malik (LeetCode)

Level

Beginner

Access

Free

A widely shared LeetCode study guide that teaches recursion by drawing recursive trees and repeatedly asking how to make the input smaller, then applies that approach to a series of problems. Code is mainly in Java with some C++. Work through it before backtracking and dynamic programming, since both build on being comfortable with recursive thinking.

algorithmsjavacpp

Ready to start?

Opens on hi-malik (LeetCode) in a new tab.

Open resource
Link broken or out of date?

Report a problem

With "Become Master in Recursion". Only Tauseef reads this.

Work with me

Stuck on something specific?

Writing only gets you so far. If you want an answer to your situation rather than the general case, book a session and we will work through it together. Sessions are free for approved Sefism members, and a few slots open each week.

Follow along

New writing, resources and project ideas land here first.