On Tue, Jan 25, 2011 at 10:18 PM, Steven D'Aprano <st...@pearwood.info> wrote:
> Or a program to find anagrams.

A great exercise in learning how different string operations perform
is to search a text file for the largest palindrome string.  I recall
running one on the Constitution where a good program could do it in
seconds and a bad program would take hours (if it didn't run out of
memory first).

-- 
Brett Ritter / SwiftOne
swift...@swiftone.org
_______________________________________________
Tutor maillist  -  Tutor@python.org
To unsubscribe or change subscription options:
http://mail.python.org/mailman/listinfo/tutor

Reply via email to