Skip to content

122. Best Time to Buy and Sell Stock II#36

Open
5103246 wants to merge 1 commit intomainfrom
122-best-time-to-buy-and-sell-stock-ii
Open

122. Best Time to Buy and Sell Stock II#36
5103246 wants to merge 1 commit intomainfrom
122-best-time-to-buy-and-sell-stock-ii

Conversation

@5103246
Copy link
Copy Markdown
Owner

@5103246 5103246 commented Dec 14, 2025

Copy link
Copy Markdown

@naoto-iwase naoto-iwase left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

コードはいずれも読みやすく、選択肢も十分見えているように感じました。メモに書かれている感想なども共感できました。

```

- 個人的には、step1の解き方や上がった分だけ足していく方がわかりやすかった
- ただ、手数料や回数制限など拡張する場合は上の考えの方がよさそう。
Copy link
Copy Markdown

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Best Time to Buy and Sell Stock IIIは回数制限のある問題になっているようです。もしご興味があればぜひ。

You may complete at most two transactions.

@t9a-dev
Copy link
Copy Markdown

t9a-dev commented Dec 15, 2025

読みやすいと思いました。

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants