← All problems
Medium · 2-D Dynamic Programming

Best Time to Buy And Sell Stock With Cooldown

Maximize stock profit with a one-day cooldown after sales.

Full problem and submission ↗
main.js

Console

Ready