Anonymous user
Greatest subsequential sum: Difference between revisions
→{{header|Ruby}}
Line 1,262:
end
end
</lang>
<lang ruby>
# the trick is that at any point
# in the iteration if starting a new chain is
|
Line 1,262:
end
end
</lang>
<lang ruby>
# the trick is that at any point
# in the iteration if starting a new chain is
|