Data Structure & Algorithm: Level-1 Problem #8. Max Slice
Given a list of integers including positive and negative ones, find out the maximum sum from any slice of this list. Sample Input: [3,-2,2,-3,4,-1,2,1,-5,4,-2,2] Sample Output: 6 From the above…