From: "Christoffer Lernö" Date: 2006-07-08T08:06:27+09:00 Subject: Re: [QUIZ] Panagrams (#86) This is really crazy. Either people have optimized things a whole lot better than me (not unlikely, I haven't made any real attempts at optimizing things), or I am using a bad algorithm. I didn't time the solution: a ruby quiz solution found this sentence enumerating four a's, two b's, two c's, three d's, thirtyfour e's, nine f's, three g's, eight h's, sixteen i's, one j, one k, three l's, two m's, twentyfive n's, fifteen o's, one p, two q's, eleven r's, twentynine s's, twentyfive t's, nine u's, four v's, nine w's, three x's, six y's and two z's ...but it took my program 8018361 iterations. Is it the optimization or the algorithm I got wrong? /Christoffer On Jul 7, 2006, at 22:47 , Simon Kr�ger wrote: > James Edward Gray II wrote: >> On Jul 7, 2006, at 12:34 PM, brian.mattern@gmail.com wrote: >> >>> Is it a spoiler if we post a resulting pangram (no code)? >> >> Not at all. Please do. >> >> James Edward Gray II > > > This is the pangram from simon, there are four a's, one b, one c, > one d, > thirty-two e's, seven f's, four g's, nine h's, eleven i's, one j, > one k, > two l's, four m's, twenty n's, eighteen o's, two p's, one q, thirteen > r's, twenty-seven s's, eighteen t's, six u's, four v's, six w's, three > x's, four y's, one z. > Time: 8.39s > > cheers > > Simon >