← Questions

Find a way out of a restricted map zone

0
PerplexityCodingLast asked Oct 2025

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.

Write and test your solution herePython in your browser, the question's tests level by level, every submission kept for you.Sign in to start coding