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.
Guide
Interview Prep
hi-malik (LeetCode)
Beginner
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.
Ready to start?
Opens on hi-malik (LeetCode) in a new tab.
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.