From 9dc1ac2b7f49281a8027f9ec537fcb1898454085 Mon Sep 17 00:00:00 2001 From: Nishita Aggarwal Date: Fri, 8 Dec 2017 02:36:20 +0530 Subject: [PATCH] Update KadaneAlgorithm.java --- Dynamic Programming/KadaneAlgorithm.java | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/Dynamic Programming/KadaneAlgorithm.java b/Dynamic Programming/KadaneAlgorithm.java index e82de100..56d0ec6f 100644 --- a/Dynamic Programming/KadaneAlgorithm.java +++ b/Dynamic Programming/KadaneAlgorithm.java @@ -14,10 +14,10 @@ public class KadaneAlgorithm { /** * This method implements Kadane's Algorithm * - * @param arr The input array + * @param arr The input array * @return The maximum contiguous subarray sum of the array - * - */ + * + */ static int largestContiguousSum(int arr[]){ int i,len=arr.length,cursum=0,maxsum=Integer.MIN_VALUE; if(len==0) //empty array