On Nov 28, 8:24 pm, Lie Ryan <lie.1...@gmail.com> wrote: > Now, this makes me interested. How efficient it would be when len(s) == > 10000... might as well write it and see. Take back what I said, give me > a minute...
... and you can check it here: http://www.spoj.pl/problems/DISUBSTR/ I see there only one (accepted) solution in Python: http://www.spoj.pl/ranks/DISUBSTR/lang=PYTH%202.5 -- http://mail.python.org/mailman/listinfo/python-list