URL Maze with Retry

URL Maze

Implement a function that finds an exit in a maze made of URLs.

Given a starting URL, requesting a URL can return one of the following:

  • A successful JSON response such as `{"next_stop...

Example

Unlock to view complete problem details

and practice with sample input/output

Was this article helpful?

View Test Cases & Run Code requires membership

Standard Input
Execution Result: