[EMAIL PROTECTED] > So, this has no real world use, aside from posting it on a website. > Thanks for wasting our time. You are making up an arbitrary problem and > asking for a solution, simply because you want to look at the > solutions, not because your problem needs to be solved. Clearly, this > is a waste of time.
If investigating algorithms irritates you, ignore it. The people writing papers on this topic don't feel it's a waste of time. For example, http://citeseer.ist.psu.edu/bespamyatnikh00enumerating.html "Enumerating Longest Increasing Subsequences and Patience Sorting (2000)" Sergei Bespamyatnikh, Michael Segal That's easy to follow, although their use of a Van Emde-Boas set as a given hides the most challenging part (the "efficient data structure" part). -- http://mail.python.org/mailman/listinfo/python-list