diff --git a/1.4_Arrays.md b/1.4_Arrays.md index 0531922..84b8562 100644 --- a/1.4_Arrays.md +++ b/1.4_Arrays.md @@ -269,6 +269,9 @@ Write a program that takes an array of integers as input from the user and finds - Keep track of the maximum sum found and the corresponding subarray indices. 4. Print the maximum sum and the corresponding indices. (Use the indices shown to the user, i.e., starting from 1.) +![KadaneExamplePicture](images/kadane-algorithm-tmb.jpg) + + Example: ```text diff --git a/images/kadane-algorithm-tmb.jpg b/images/kadane-algorithm-tmb.jpg new file mode 100644 index 0000000..d26fb3f Binary files /dev/null and b/images/kadane-algorithm-tmb.jpg differ