關於121.買賣股票

A more clear explanation on why sum of subarray works.: Suppose we have original array: [a0, a1, a2, a3, a4, a5, a6] what we are given here(or we calculate ourselves) is: [b0, b1, b2, b3, b4, b5, b6]
相關文章
相關標籤/搜索