[Code Random Record] Day 51 Dynamic Planning 12 //To be done// (freezing period for buying and selling stocks, handling fees for buying and selling stocks)

Freeze period for buying and selling stocks

https://leetcode.cn/problems/best-time-to-buy-and-sell-stock-with-cooldown/
Insert image description here

Stock trading fees

https://leetcode.cn/problems/best-time-to-buy-and-sell-stock-with-transaction-fee/
Insert image description here

おすすめ

転載: blog.csdn.net/weixin_43785314/article/details/132755195