#### Abstract

Suppose we are given a vector X of n real numbers and we want to find the maximum sum found in any contiguous subvector of X. In Jon Bentley's article [l] on algorithm design and technique, a simple vector scanning problem and a series of progressively more efficient algorithms to solve this problem were discussed in some detail. Clearly, any algorithm must visit each location of X at least once and consequently a lower bound on the running time for problem is 0(n), which is in fact attainable as Bentley’s paper illustrates. However, the original motivation for this problem was the analagous two dimensional problem for an n x n array. That is, find the maximum sum contained in any contiguous rectangular subarray. Currently, the fastest algorithm obtained for this problem is O(n^{3})[2] ; the theoretical lower bound would be at least 0(n^{2}). In this note, we will present a parallel processing approach to this problem which results in excess of one order of magnitude speed up for large problems in the 0(n^{3}) algorithm.

#### Recommended Citation

Butler, Ralph M. and Wilkerson, Ralph W., "A Parallel Array Scanning Algorithm" (1985). *Computer Science Technical Reports*. 7.

https://scholarsmine.mst.edu/comsci_techreports/7

#### Department(s)

Computer Science

#### Report Number

CSc-85-5

#### Document Type

Technical Report

#### Document Version

Final Version

#### File Type

text

#### Language(s)

English

#### Rights

© 1985 University of Missouri--Rolla, All rights reserved.

#### Publication Date

1985