Data structures · Graphs
A transit app must show the stations on a route with the fewest stops, or say plainly that no route exists.