Largest int from concatenated ints: Difference between revisions

Line 2,406:
Stdout printCR: resultString.
].</lang>
no need to collect the resultString; simply print the sorted list as well (ok, if printing is all we want):
<lang smalltalk>#(
(54 546 548 60)
Line 2,416:
Stdout cr.
]</lang>
no need to generate any printintermediate strings; the following will do as well:
<lang smalltalk>#(
(54 546 548 60)
Anonymous user