Find the minimum time to reach a destination using a given set of flights.
Unlock detailed company stats for this questionUpgrade
Based on Dijkstra's algorithm: given a set of flights with arrival/departure times, sources and destinations, find the minimum time in which you can reach the destination from the source.
First question: check whether the destination can be reached by picking a given series of flights, and if so find the minimum time.
Expect follow-ups like
- First part: can you reach the destination by picking a given series of flights; if yes, find the minimum time.
Community answers
No answers contributed by the community yet.


