JS and CoffeeScript solutions to Largest Continuous Sum fail for arrays of negative numbers
tclamb opened this issue · 0 comments
tclamb commented
Given the input [-1], both return 0 as the largest continuous sum of the array, when it clearly is -1 (i.e. the only sum of the array). The problem description contains the solution to this problem.