Tagged Questions
7
votes
9answers
648 views
Find largest sum of subsequence
Given a sequence of integers find the largest sum of a subsequence (integers on consecutive positions) of the sequence. The subsequence can be empty (in which case the sum is 0).
Input is read from ...