|
RE: Coding challenge (on Ruby Garden): msg#00757lang.ruby.general
> From: George Ogata [mailto:g_ogata@xxxxxxxxxxxxxxxx] > This bit looks strange to me, though: > > if (arr_of_arr.length - (arr_of_arr - arr).length) > arr.length > ^^^^^^^^^^^^^^^^ Of course, you are right.. this line should be if (arr_of_arr.length - (arr_of_arr.delete_if{|a| a == arr}) > arr.length with this change, this latest failure passes. Can't wait for the next one ;) David
|
|
| <Prev in Thread] | Current Thread | [Next in Thread> |
|---|---|---|
| Previous by Date: | RE: The whole 'Spades' thing: GA and cardbots, JamesBritt |
|---|---|
| Next by Date: | Dr. Dobbs Ruby Article, JamesBritt |
| Previous by Thread: | Re: Coding challenge (on Ruby Garden), Dan Schmidt |
| Next by Thread: | RE: Coding challenge (on Ruby Garden), George Ogata |
| Indexes: | [Date] [Thread] [Top] [All Lists] |
| News | FAQ | advertise |