Question: algorithm please answer question 1 1 ssINGsUBARRAY (A, low ,mid, high) 2 left Sum -oo 3 sum o 4 for i mid downto low 5
algorithm


![5 sum sum A [i] if sum left Sum left sum sum](https://dsd5zvtm8ll6.cloudfront.net/si.experts.images/questions/2024/09/66f510faefc82_69866f510fa890e0.jpg)
please answer question 1
1 ssINGsUBARRAY (A, low ,mid, high) 2 left Sum -oo 3 sum o 4 for i mid downto low 5 sum sum A [i] if sum left Sum left sum sum max Left i 9 rights sum -oo 11 for j mid-1 to high 12 sum sum Atjl 13 if sum rightsum right sum sum 14 15 max Right i leftsum rightsum 16 return maxLeft maxRight ThinmYTMIIMSIIBARRAY (A, low high)
Step by Step Solution
There are 3 Steps involved in it
Get step-by-step solutions from verified subject matter experts
