desik's blog

By desik, history, 8 years ago, In English

I actually understood the method done in Euler Tour algorithm but don't understand why it works? Here is the pseudo.

dfs (v):
           for u in adj[v]:
               erase the edge v-u and dfs(u)
            push v at the end of e

Full text and comments »

  • Vote: I like it
  • +6
  • Vote: I do not like it