[Tutor] Merge Challenge
Gregor Lingl
glingl at aon.at
Sat Oct 18 13:54:44 EDT 2003
Hello Raymond!
I'm very courious about your solution.
I tried
c=a+b
c.sort()
and that is indeed very fast. (Trying for half an
hour I couldn't find *any* faster one).
Will be hard to surpass.
Regards, Gregor
Raymond Hettinger schrieb:
> Given two sorted lists, a and b, write the fastest,
>
> code that merges a and b into a new list c.
>
>
>
> My answer has 15 characters including newlines.
>
>
>
>
>
> Raymond Hettinger
>
>------------------------------------------------------------------------
>
>_______________________________________________
>Tutor maillist - Tutor at python.org
>http://mail.python.org/mailman/listinfo/tutor
>
>
More information about the Tutor
mailing list