Algorithms for the maximum subarray problem based on matrix multiplication

45Citations
Citations of this article
20Readers
Mendeley users who have this article in their library.

Abstract

Given an M×N array of reals, we want to find a rectangular contiguous subarray such that the sum of the entries in the subarray is maximized. Since Bentley posed this problem in his Programming Pearls column in 1984 with an O(NM2) time solution, no progress on the sequential complexity has been reported to date. We give the first subcubic algorithm, by reducing the problem to `funny matrix multiplication', where the scalar product and addition in usual matrix multiplication are replaced by addition and max operations, respectively. We also give a faster ε-approximation algorithm via the same reduction.

Cite

CITATION STYLE

APA

Tamaki, H., & Tokuyama, T. (1998). Algorithms for the maximum subarray problem based on matrix multiplication. In Proceedings of the Annual ACM-SIAM Symposium on Discrete Algorithms (pp. 446–452). SIAM. https://doi.org/10.4036/iis.2000.99

Register to see more suggestions

Mendeley helps you to discover research relevant for your work.

Already have an account?

Save time finding and organizing research with Mendeley

Sign up for free