Algorithm · Ramp · Medium
You are placed in a URL maze and given a helper request that simulates an HTTP GET: Begin at "/" and repeatedly request URLs until you discover the exit URL. A URL is the exit when its response contains message == "Congrats". If multiple URLs are pending, process them strictly in the order they were discovered. Within a single next list, URLs are discovered left to right. Always pass an empty map as headers. The Response object holds: statusCode: one of 200, 404, 503, or…
Checking your access…