solulubeta
Sign in
Recursion & Memo / Exam kit
05.02 · Practice set

Find the State and the Recurrence

16 questions on the step most students skip: naming the state, the base case and the recurrence before writing any code.

24 min Pro

Each question gives you a problem and asks for one piece of its solution: the state, a base case, the recurrence or the memo size. Answer from the method, not from memory. If you can do these quickly, the code is the easy part.

Pick an answer to see whether it is right and why. Your score is saved when you finish the set.

solulu Pro

Continue this practice set with Pro

Inside: 16 questions.

Lifetime ₹1,999 ₹999 · Launch offer
Mark this as done when you are finished.

Item 43 of 44 · updated 2026-10-13