Already solved this on LeetCode?
Mark it and you get similar problems you have not done instead of a repeat.
Quick refresher
A one-minute recap of how to solve it. Folded so it does not spoil a first attempt.
Hints
0 of 3 revealedHint 2 locked
Hint 3 locked
Approach
Try it first. Revealing the approach does not cost XP, but solving it unaided is worth more.
Scratchpad
Runs in a worker with a 2.5 second cap, so an infinite loop cannot lock the page.
Your notes
Solve it on
Direct links where the exact problem id is known, search links otherwise. The same question often appears under a different title on each platform.
Your model
1D DP18%
Dynamic Programming18%
Knowledge-tracing estimate of the chance you have each skill. Solving updates it up, giving up updates it down.
target 25m