Can we use Kadanes algorithm with updates!
What do you mean by updates?
yeah , i didn’t get what you tryna say @akhacker579
You can use segment tree for that. You can found the same question here–>SPOJ
You can use segment tree for that.