Largest int from concatenated ints: Difference between revisions

Content added Content deleted
(D entry: maxCat3 is now less elegant but works with [10, 1010])
Line 96:
=={{header|Haskell}}==
===Compare repeated string method===
{{incorrect|D|It doesn't work with numbers like [10, 1010].}}
<lang Haskell>import Data.List (sortBy)
import Data.Ord (comparing)