AI Coding · Meta · Hard
Problem You are handed a small geospatial toolkit: reading location records off a feed, measuring how far apart two points are, answering questions about what is near what, and a spatial index for when the map stops being small. The function the round names is: Given (name, latitude, longitude) records, it returns the name of the location closest to the origin (0.0, 0.0), by straight-line distance over the latitude/longitude plane. It is written and it works. Everything…
Checking your access…