[triangle-zpug] how to match strings in python

Chris Rossi chris at archimedeanco.com
Thu Apr 2 17:52:24 UTC 2009


On Thu, Apr 2, 2009 at 11:49 AM, Stephan Altmueller <
stephan_altmueller at unc.edu> wrote:

> Hi,
>
>
> http://en.wikibooks.org/wiki/Algorithm_implementation/Strings/Longest_common_substring#Python
>

Wow, clearly implemented by a C programmer translating C directly to
Python.  Love the opaque identifiers and the convoluted code.  Looks like
he's creating a creating a 2 dimensional matrix of size len(string1) x
len(string2)?!?!

Is mine the shortest?  ;)

Chris
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://starship.python.net/pipermail/triangle-zpug/attachments/20090402/ca43b87a/attachment.htm>


More information about the triangle-zpug mailing list