- System should be able to find the shortest route between two given locations.
- Query the database as less as possible.
- Limit the search space
- Build the graph lazily
-
Before introducing a road between Trichy and Chennai:
-
After introducing a road between Trichy and Chennai:
Note: The distance and duration are approximate values.

