The famous algorithm of contiguous subarray within a one-dimensional array of numbers that has the largest sum is called Kadane's algorithm.
確定! 回上一頁