in reply to Re: Find the common beginning substring in an array of strings (Updated)
in thread Find the common beginning substring in an array of strings
Pretty smart and super fast, only works with an even number of strings though. Off the top of my head I'd say for an uneven number just duplicate one of the strings.
Gotta go and pick up my son from kindergarten, otherwise there'd be code to support my claim :)
|
|---|
| Replies are listed 'Best First'. | |
|---|---|
|
Re^3: Find the common beginning substring in an array of strings
by BrowserUk (Patriarch) on Jun 06, 2012 at 18:54 UTC |