---
title: "Discussion on \"LeetCode 309: Best Time To Buy And Sell Stock With Cooldown — Step-by-Step Visual Trace\" | Hashnode"
description: "Discussion on \"LeetCode 309: Best Time To Buy And Sell Stock With Cooldown — Step-by-Step Visual Trace\". Find the maximum profit from buying and selling stocks with a cooldown period of one day after each sale. You can complete multiple transactions but must wait one day after selling before buying again."
url: "https://hashnode.com/posts/best-time-to-buy-and-sell-stock-with-cooldown-visualization/69d7d1e7e06c65e1a004a7bb"
---

[Feed](https://hashnode.com/feed) /

Discussion

# [LeetCode 309: Best Time To Buy And Sell Stock With Cooldown — Step-by-Step Visual Trace](https://blog.tracelit.dev/best-time-to-buy-and-sell-stock-with-cooldown-visualization?utm_source=hashnode&utm_medium=feed)

Find the maximum profit from buying and selling stocks with a cooldown period of one day after each sale. You can complete multiple transactions but must wait one day after selling before buying again.

Apr 9 · 2 min read · blog.tracelit.dev  
Read the article

-   [#algorithms](https://hashnode.com/tag/algorithms)
-   [#dynamic-programming](https://hashnode.com/tag/dynamic-programming)
-   [#leetcode](https://hashnode.com/tag/leetcode)

## Written by

[tracelit](https://hashnode.com/@tracelit)

@tracelit

  
[View profile](https://hashnode.com/@tracelit)

## Responses

Markdown supported · ⌘↵ to post

No responses yet.
