IBM Interview Question

find the maximum sum of sub-sequences from an array