摘要: 2026.Max Sum (c++)Problem DescriptionConsider the aggregate An= { 1, 2, …, n }. For example, A1={1}, A3={1,2,3}. A subset sequenc... 阅读全文
posted @ 2018-08-27 21:59 Ruohua3kou 阅读(166) 评论(0) 推荐(0) 编辑
摘要: 1003.Max Sum (c++)Problem DescriptionGiven a sequence a[1],a[2],a[3]......a[n], your job is to calculate the max sum of a sub-seq... 阅读全文
posted @ 2018-08-27 11:23 Ruohua3kou 阅读(104) 评论(0) 推荐(0) 编辑
摘要: 9. Palindrome Number (c++)Determine whether an integer is a palindrome. An integer is a palindrome when it reads the same backwar... 阅读全文
posted @ 2018-08-27 10:06 Ruohua3kou 阅读(113) 评论(0) 推荐(0) 编辑
摘要: 2. Add Two Numbers (c++) You are given two non-empty linked lists representing two non-negative integers. The digits are stored... 阅读全文
posted @ 2018-08-27 09:42 Ruohua3kou 阅读(123) 评论(0) 推荐(0) 编辑