Embercode
✕
GraphsQuick quiz

Euler paths

7 questions. Covers Euler paths and cycles with Hierholzer.

Questions 1 to 5 of 7

  1. 1. A connected undirected graph has exactly two vertices of odd degree. What does the lesson say about a walk that uses every edge exactly once?
  2. 2. In the lesson's table, what does a connected graph give when every vertex has even degree?
  3. 3. True or false: adding the edge 4-0 to the triangle with a tail gives a graph with an Euler cycle.
  4. 4. True or false: two separate triangles, where every vertex has degree 2, form a graph with an Euler cycle.
  5. 5. Put the steps of the stack method (Hierholzer's algorithm) in the order the lesson gives them.

    Use the arrows to put the steps in order.

    1. 1.Pop the stuck vertex and write it into the route
    2. 2.Reverse the route to get the walk in its real order
    3. 3.Go back to the vertex now on top and walk again if it has unused edges
    4. 4.Walk along unused edges, pushing each new vertex, until the top vertex is stuck

4 question(s) left on this page.