Quantcast
Channel: Coding Interviews – Notebook
Viewing all articles
Browse latest Browse all 2

The Maximum-Subarray Problem

$
0
0

What is meant by the maximum sub-array problem is that we want to find the non-empty, contiguous sub-array of an array whose values have the largest sum. Following is a divide & conquer solution implemented for it using Java language. ~Rajind Ruparathna


Viewing all articles
Browse latest Browse all 2

Trending Articles