Add linear solution to ContiguousSequenceLargestSum