From charlesreid1

Revision as of 21:21, 9 August 2017 by Admin (talk | contribs) (Created page with "==Problem Description== Given a sequence of integers, <math>a_1, a_2, \dots, a_n</math>, determine the subsequence of integers with the maximum sum. (Note, this problem is...")
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)

Problem Description

Given a sequence of integers, $ a_1, a_2, \dots, a_n $, determine the subsequence of integers with the maximum sum.

(Note, this problem is only interesting if there are negative numbers.)

Solution

https://charlesreid1.com:3000/cs/java/src/master/dynamic-programming/max-val-seq

Flags