Question 196
[Part C · Hard] A snowplow needs to traverse every street in the diagram at least once (Eulerian trail) without lifting its blade — meaning it traverses each edge exactly once — starting at one intersection and ending at another. Which pair of intersections must be its {Start, Finish}?
Một xe dọn tuyết muốn đi qua tất cả các con đường trong sơ đồ đúng $1$ lần (đường đi Euler), xuất phát từ một giao lộ và kết thúc ở một giao lộ khác. Cặp giao lộ {Xuất phát, Kết thúc} bắt buộc phải là cặp nào?
Xem đáp án và lời giải
Đáp án: {B, C}
Answer / Đáp án: {B, C}
Step-by-step (EN): Check vertex degrees: $\deg(A) = 2$ (even), $\deg(D) = 2$ (even), $\deg(B) = 3$ (odd), $\deg(C) = 3$ (odd). By Euler's Theorem, a trail visiting every edge exactly once exists iff there are $0$ or $2$ odd-degree vertices, and when there are $2$, the trail must start and end at those two odd vertices {B, C}!
Giải chi tiết (VI): Tính bậc của từng đỉnh: $\deg(A) = 2$ (chẵn), $\deg(D) = 2$ (chẵn), $\deg(B) = 3$ (lẻ), $\deg(C) = 3$ (lẻ). Theo Định lý Euler, đường đi qua mọi cạnh đúng $1$ lần khi có $2$ đỉnh bậc lẻ bắt buộc phải xuất phát và kết thúc tại hai đỉnh bậc lẻ {B, C} (ví dụ B -> A -> C -> B -> D -> C).
Computational Thinking / Tư duy Máy tính: Eulerian Trails & Vertex Degree Parity (Đường đi Euler & Tính chẵn lẻ bậc đỉnh).