No11.week11 maxSubArray

1.suscription 2.How to Slove      Hint:           consider contiguous subsequences ending exactly at position j.      Solve:           記f(j) = 以aj爲結尾的最大和。           f(0) = 0           f(1) = a1      
相關文章
相關標籤/搜索