Re: Perl Quiz of the Week #23
Mark Jason Dominus <[email protected]>
| Newsgroups | gmane.comp.lang.perl.qotw.discuss |
|---|---|
| Message-ID | <[email protected]> |
Yitzchak Scott-Thoennes <[email protected]>: > > (((()))) > > ((()())) > > ((())()) > > ((()))() > > (()(())) > > (()()()) > > (()())() > > (())(()) > > (())()() > > ()((())) > > ()(()()) > > ()(())() > > ()()(()) > > ()()()() > > > > in some order. > > That's a very strange sample order; No, it isn't. It's lexicographic order. I sorted the list before I sent the message. > I have a hard time picturing an algorithm coming up with it. Prepare to be astonished.