The program explained in this video gives a garbage value when when the maximum sum of Sub-array is a negative number.
Please provide the correct code which gives the correct Maximum Sum when the actal maximum sum of Sub-array is a nugative number.
Also please explian the code:pray: