DSA Days: Stock Buy and Sell – Multiple Transactions Allowed
Link to this question
When it comes to stock trading, the goal is to maximize profit by buying and selling at the right times. In this problem, you are allowed to make multiple transactions, but with the restriction that you cannot hold more than one...
coolsrj.hashnode.dev4 min read