sir how to find the maxium sum in case of all negative numbers.plz help
New doubt on this algorithm
@vikashsai1198 hey vikash the same algorithm will follow as kadane algorithm but there is small modification in the code you can refer to this link.
sir how to find the maxium sum in case of all negative numbers.plz help
@vikashsai1198 hey vikash the same algorithm will follow as kadane algorithm but there is small modification in the code you can refer to this link.