Dennis Lee Bieber <wlfr...@ix.netcom.com> writes:
>       Why bother with seen    ?

The version with seen runs in linear time because of the O(1) set
lookup.  Your version runs in quadratic time.
-- 
http://mail.python.org/mailman/listinfo/python-list

Reply via email to