Path reconstruction · 5 minutes
Handle a trip with zero edges
Get feedback on your answer. No account needed.
Your function returns a list of stops, including both endpoints, or None if no route exists. What should route("Gate", "Gate") return when Gate exists?
