in reply to Lookup closest hash key
How many cities? And across what range (Ie. minimum and maximum distance)?
Depending upon your answers to those questions, there is probably an O(1) solution.
|
|---|
| Replies are listed 'Best First'. | |
|---|---|
|
Re^2: Lookup closest hash key
by Just in (Sexton) on Jan 25, 2011 at 16:02 UTC |