ZopSmart interview question

contiguous longest sum in ascending order