Please fix this code. It has too many comments and isn’t indented well.
Also the reference to geeksforgeeks shows much simpler code using Kadane’s algo
Please fix this code. It has too many comments and isn’t indented well.
Also the reference to geeksforgeeks shows much simpler code using Kadane’s algo