Skip to content

Commit

Permalink
Merge pull request tarunsinghofficial#1822 from Anonymouslaj/main
Browse files Browse the repository at this point in the history
Update Kadane's-Algorithm.c
  • Loading branch information
tarunsinghofficial committed Oct 20, 2021
2 parents f089579 + 5388ee1 commit bbc77e6
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion C Program/Kadane's-Algorithm.c
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
#include<stdio.h>
//Function to calculate the maximum sum of a sub-array of a given array
//Function to calculate the maximum sum of a sub-array of a given array easily
int maxSumarray(int a[], int size){
int i;
int max_sum_so_far=0;
Expand Down

0 comments on commit bbc77e6

Please sign in to comment.