To prove safety OFFER ---- 63-1, the largest share of the profit I (js achieve)

topic

Seeking to maximize profits trading in a stock that can be obtained. For example, the input 9,11,8,5,7,12,16,14 {}, when buying 5, when selling 16, 11 is able to maximize profits.


Thinking



Guess you like

Origin blog.csdn.net/qq_40816360/article/details/95237751