Set 21 - DP Review + Hard Problems
Use Practice Loop if you need a reset.
Problems
| Problem | Difficulty | Pattern | Video |
|---|---|---|---|
| LC 152. Maximum Product Subarray | Medium | DP/Kadane's | Video |
| LC #309 Best Time Buy Sell with Cooldown | |||
| LC #312 Burst Balloons |
Deliverables
- Write a 1-line invariant for each problem.
- Note 1 edge case or pitfall per problem.
- Record time-to-first-correct solution.
Notes
- LC 309: state DP (hold/sold/rest) with cooldown.
- LC 312: interval DP; choose last balloon.
Review
- Time spent + where you got stuck?
- Biggest mistake or missed edge case?
- One concrete improvement for next time.
Comments
Share your approach or ask questions
?
|
Markdown supported
Sign in to post
Loading comments...