Greatest subsequential sum: Difference between revisions
m
→{{header|AppleScript}}
Line 90:
=={{header|AppleScript}}==
Linear derivation of both sum and list
<lang applescript>-- maxSubseq :: [Int] -> [Int] -> (Int, [Int])
on maxSubseq(xs)
|