We don't bite newbies here... much | |
PerlMonks |
(tye)Re4: (Golf) Nearest Neighborsby tye (Sage) |
on Apr 04, 2001 at 23:39 UTC ( [id://69840]=note: print w/replies, xml ) | Need Help?? |
Ah! That's different! The specification is simple: given a list of numbers, return the two which are nearest to one-another I didn't parse the "one-" part (in my lame defense, my current window width wrapped the line right after the "-") so I was thinking you wanted the two numbers from a list closest to some other number not on the list. So just ignore me. (: - tye (but my friends call me "Tye")
In Section
Obfuscated Code
|
|