摘要: 题目: Given a sequence a[1],a[2],a[3]……a[n], your job is to calculate the max sum of a sub-sequence. For example, given (6,-1,5,4,-7), the max sum in th 阅读全文
posted @ 2017-01-11 20:10 Robin! 阅读(98) 评论(0) 推荐(0) 编辑
摘要: 题目: Marsha and Bill own a collection of marbles. They want to split the collection among themselves so that both receive an equal share of the marbles 阅读全文
posted @ 2017-01-11 17:23 Robin! 阅读(85) 评论(0) 推荐(0) 编辑