AiTeky Original Lesson 2 of 3 Learn 30 min ✓ Reviewed by Expert
Recursion and backtracking
Write a function that calls itself with a smaller problem and always has a stopping case, see why repeated work explodes and how remembering answers fixes it, then try choices one at a time and undo the wrong ones to build subsets, sums and a queens board.
Sign up free to open every AiTeky Original lesson
It takes a minute with your email. AiTeky Pass (₹999/month or ₹9,999/year) is free for your first 30 days.

