Hello sir i think the code is not working with this example

example an array -3 -3 -3 4 5 so output of this array for maximum sum subarray is 9 but from this code which is make by sir is not show please cross check it

@Baapcoder123 share the code you are using by saving it on cb ide

i found my error thanku

1 Like

@Baapcoder123 please mark the doubt as resolved