<?php //Find the 'SUM' of a 'contiguous' subarray within an array of numbers that has the LARGEST sum. Array is [-2, -3, 4, -1, -2, 1, 5, -3]. //Meaning of 'Contiguous Subarray': Any sub series of elements in a given array that are contiguous ie //their indices are continuous. //So given [1,2,3,4,5,6]:[1,2,3], [3,4], [3,4,5,6] are all valid contiguous subarrays
To embed this project on your website, copy the following code and paste it into your website's HTML: