摘要:
The description of the question: Locate the consecutive sub-list in a list that has the highest sum of values.For example:Given a list: (-1, 4, -2, 3, 1, 2, -2), the sub-list to return should be (4, -2, 3, 1, 2) with sum of values being 8.First thought of the question:The solution is expected to be 阅读全文
posted @ 2011-06-05 19:56
quanben
阅读(139)
评论(0)
推荐(0)

浙公网安备 33010602011771号