Find a way out of a restricted map zone

0
Remix

Given a starting latitude and longitude and a function that says whether a point is inside a premium zone, return a path that leaves the zone, or a nearby point outside it. Clarify step size and search order, and keep the number of calls to the zone check reasonable.

PerplexityCodingMediumLast asked Oct 2025
No answer yet. Write the first one; the best answer gets endorsed.