Sequential and Parallel Algorithms for the Generalized Maximum Subarray Problem | AMiner