Beefy Boxes and Bandwidth Generously Provided by pair Networks
more useful options

(tye)Re4: (Golf) Nearest Neighbors

by tye (Sage)
on Apr 04, 2001 at 23:39 UTC ( #69840=note: print w/ replies, xml ) Need Help??

in reply to Re: (tye)Re2: (Golf) Nearest Neighbors
in thread (Golf) Nearest Neighbors

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")

Comment on (tye)Re4: (Golf) Nearest Neighbors
Replies are listed 'Best First'.
Re: (tye)Re4: (Golf) Nearest Neighbors
by MeowChow (Vicar) on Apr 04, 2001 at 23:41 UTC

Log In?

What's my password?
Create A New User
Node Status?
node history
Node Type: note [id://69840]
and the web crawler heard nothing...

How do I use this? | Other CB clients
Other Users?
Others musing on the Monastery: (6)
As of 2015-10-08 20:30 GMT
Find Nodes?
    Voting Booth?

    Does Humor Belong in Programming?

    Results (226 votes), past polls