From: Tom Sawyer Date: 2002-08-07T05:20:37+09:00 Subject: Re: Coding challenge (on Ruby Garden) just figured it out. i thought i was producing every permutation, but it turns out i'm only getting a portion (i think 1/nitems of them). i'll fix it. ~transami p.s. perhaps david's has a similar problem, though i haven't looked at it too deeply. On Tue, 2002-08-06 at 14:09, Bill Kelly wrote: > Hi, > > From: "Tom Sawyer" > > > > bill can you tell where mine is failing? it passes david's tests plus > > the one avi's missed --which your test dosn't seem to catch. would like > > to fix mine though if there's a bug. > > I tried reducing the dataset size as far as possible and having it > still fail. It seems to fail on this: > > big_items = [1, 3, 2, 4] > big_rows = [[ 2 ], [ 1 ], [ 3 ], [ 4 ]] > > > Hope this helps, > > Bill > > > > > -- ~transami