Skip to content

Latest commit

 

History

History

best-time-to-buy-and-sell-stock-ii

Folders and files

NameName
Last commit message
Last commit date

parent directory

..
 
 
 
 
 
 

Sell whenever there is profit

An easy problem. each time got a new price, sell all if there is profit. Then buy and wait for another price jump.