IBM interview question

find the maximum sum of sub-sequences from an array