Closed kedhas closed 2 years ago
https://github.com/kdn251/interviews/blob/a70c2250ec5f2e43972a359e050182f970ea2ffd/leetcode/array/BestTimeToBuyAndSellStock.java#L30
should be min = Math.min(min, prices[i])
来信收到,谢谢,祝您一切顺利!
False positive
https://github.com/kdn251/interviews/blob/a70c2250ec5f2e43972a359e050182f970ea2ffd/leetcode/array/BestTimeToBuyAndSellStock.java#L30
should be min = Math.min(min, prices[i])