Exercise · ZW-PATH-IN-A-GRAPH-002 · ★☆☆ Basic

A graph has edges \(12, 23, 34, 14, 25\). Which of these sequences is a path?

Choose one option.

Show answer
  • A. 5, 2, 1, 4

Explanation

Every consecutive pair is an edge: 52, 21 and 14. In the others 24, 13 or 51 is missing.

Study Discrete mathematics in ZWMath →

Review the concept: Path in a graph

A path of length \(k\) is a sequence of vertices \(v_0,\dots,v_k\) such that each consecutive pair is joined by an edge of \(E\).

\[\{v_{i-1},v_i\}\in E,\qquad i=1,\dots,k\]

More practice problems: path in a graph

← ZW-PATH-IN-A-GRAPH-001 ZW-PATH-IN-A-GRAPH-003 →