begin quoting Christopher Smith as of Tue, Jan 08, 2008 at 01:08:21PM -0800: > SJS wrote: > > I as at a friend's place over the holidays, and I picked up a little > > sliding-tile puzzle of a lizard. There were 8 pieces on a little 3x3 > > grid, and I futzed with it a bit and decided that I didn't even like > > those sorts of puzzles when they were that small. > > > > That night, the cat got up in my lap, arranged itself across my > > forearms, so I decided to "solve" the 3x3 8-piece sliding tile puzzle. > > Now, this would have been an ideal time to try out Ruby, but with a > > purring cat trapping my arms, that wasn't really practical. > > This seems like the kind of problem that just cries out for dynamic > programming, no?
The puzzle problem? Yes. The cat, however is not a problem, merely a constraint. -- Cats are God's gift to (and test of) man, The goal is to make 'em purr as oft we can. Stewart Stremler -- [email protected] http://www.kernel-panic.org/cgi-bin/mailman/listinfo/kplug-lpsg
