Practice Problem
Best Time to Buy and Sell Stock with Cooldown
Difficulty: Medium
Given an array of stock prices, find the maximum profit with unlimited transactions but a mandatory one-day cooldown after each sell.
Practice Problem
Difficulty: Medium
Given an array of stock prices, find the maximum profit with unlimited transactions but a mandatory one-day cooldown after each sell.