• Courses
  • Tutorials
  • DSA
  • Data Science
  • Web Tech
July 04, 2022 |1.0K Views

Euler tour of Binary Tree

Description
Discussion

Given a binary tree where each node can have at most two child nodes, the task is to find the Euler tour of the binary tree. Euler tour is represented by a pointer to the topmost node in the tree. If the tree is empty, then value of root is NULL.


Euler tour of tree has been already discussed where it can be applied to N-ary tree which is represented by adjacency list. If a Binary tree is represented by the classical structured way by links and nodes, then there need to first convert the tree into adjacency list representation and then we can find the Euler tour if we want to apply method discussed in the original post.


Euler tour of Binary Tree : https://www.geeksforgeeks.org/euler-tour-binary-tree/