Talk:TADM2E 8.21

From Algorithm Wiki
Revision as of 12:41, 19 October 2017 by LiavK (talk | contribs) (Proposed O(n) algo for 8.21 seems to be incorrect.)
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)
Jump to: navigation, search

Does the proposed O(n) algorithm work correctly? I don't believe it returns the correct result for [100, -200, -200]. Also, it's implemented in Perl. :P