Five programming problems every Software Engineer should be able to solve in less than 1 hour
Geoff Canyon
gcanyon at gmail.com
Sat May 9 19:57:24 EDT 2015
On Sat, May 9, 2015 at 6:34 PM, Mark Schonewille <
m.schonewille at economy-x-talk.com> wrote:
> function problem4
> put "50,2,1,9" into myList
> sort items of myList numeric descending by char 1 of each
> replace comma with empty in myList
> return myList
> end problem4
>
Doesn't work on several inputs, here's one:
642,6,4,3 -- returns 642643, should return 664243
More information about the use-livecode
mailing list