Given N cities, M bidirectional roads with unit travel costs, a start city, a destination, an initial fuel capacity, and a set of refill stations, determine if the destination can be reached.
You've read your 3 free write-ups
Sign up free to keep reading. Your account opens the first 10 questions of every company.