Skip to content
RED SAG Skills
mediumStudy question · answer published in Data Structures and Algorithms interview questions, so no pointsdynamic-programmingstock-problemsstate-machine

Stock trading with a cooldown day

You may trade many times, but after selling you must wait one day before buying. For prices [1, 2, 3, 0, 2], what is the largest profit?

Choose one answer

Discussion 0

Join free to post in the discussion.

Related questions