Is there sequence of buying and selling?

  • 0

    Does the question assume that I currently have one share of the stock? Because if not, then shouldn't I buy before I sell? Thanks a lot!

  • 1

    No. By day 0, you have no stock. You may buy and sell once or not. Of course you should buy one before sell.

Log in to reply

Looks like your connection to LeetCode Discuss was lost, please wait while we try to reconnect.