Find a way out of a restricted map zone
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.
No answer yet. Write the first one; the best answer gets endorsed.
