Set 21 - DP Review + Hard Problems

Use Practice Loop if you need a reset.

Problems

ProblemDifficultyPatternVideo
LC 152. Maximum Product SubarrayMediumDP/Kadane'sVideo
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

0 comments
?
|
Markdown supported
Sign in to post

Loading comments...