Re: Perl Quiz of the Week #23

Mark Jason Dominus <[email protected]>
Newsgroups gmane.comp.lang.perl.qotw.discuss
Message-ID <[email protected]>
colin.rafferty-/PgpppG8B+R7qynMiXIxWgC/[email protected]:
> So I worked a bit, and pretty quickly got an algorithm straight.
> However, it's fairly obvious that my algorithm is exponential.
> Obviously, the number of results is also exponential, but I was hoping
> that I could...

I think the right way to measure the time on this one is to consider
the time to calculate each line of output, instead of the total time
to calculate all the outputs.
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.