Example array : {0,1,1,1,-5,2,-4,89} .
Answer = -7 {-5,2,-4} is the subarray with least possible sum.
Rules :
1)Explanation of algorithm in your answer is a must .
2)Writing code is optional .
3)If code is written , make sure to you use format option from the editor .