From: David Alan Black Date: 2002-08-06T09:58:30+09:00 Subject: Coding challenge (on Ruby Garden) Hello -- Coding Challenge 0002 (my numbering scheme :-) has been posted to . As with 0001, this challenge comes with unit tests and an unimplemented method. The basic idea of this challenge is: write a method which takes two arguments: an array of items, and an array-of-arrays of items, and determines whether or not a one-to-one correspondence can be established, so that every item in the first array can be found in one of the arrays in the array-of-arrays: This would return true: [1,2,3] [ [1,11,111], [0,3,2], [2,4,6] ] This would return false: [1,2,3] [ [1,11,111], [0,3,2], [4,6,8] ] (because 2 and 3 aren't allowed to correspond to the same array). More details on the site -- enjoy. David -- David Alan Black home: dblack@candle.superlink.net work: blackdav@shu.edu Web: http://pirate.shu.edu/~blackdav