destcity-set-difference-approach

Status: IN

destCity solves the terminal-city problem via set membership — builds a set of source cities, then finds the first destination absent from it — avoiding graph construction entirely.

Source: entries/2026/06/06/destination-city-solution.md

JSON