Reorder Routes to Make All Paths Lead to the City Zero
Search outward from city zero; every road walked in its drawn direction, away from zero, must be reversed once.
Search outward from city zero; every road walked in its drawn direction, away from zero, must be reversed once.