Maximum sum SubArray
compile to ho raha ha aur input ka answer bhi thik aara ha
or kadane sa bhi nhi ho raaha
tumhari code ki time complexity O(N^3) hai isiliye wo given test case pe tle de raha.
try to code it using kadane
check now->
u need to run ur code for t test cases ,but u were running only for one case
ok done bahiya thank uu
bahiya agar saara input negative hua to
to maximum sum to 0 hoga
