Martin DeMello
8/6/2007 10:28:00 AM
On 8/6/07, Brian Candler <B.Candler@pobox.com> wrote:
> Here's a simple solution from my simple brain. It just takes the common
> prefix between the first two items, then the common prefix between this and
> the third, etc.
Same solution I came up with, though I missed the size-check
optimisation. Nice because it's strictly linear in (length of the list
+ size of the first word).
martin