• Courses
  • Tutorials
  • DSA
  • Data Science
  • Web Tech
May 27, 2022 |2.3K Views

Convert a given Binary Tree to Doubly Linked List | Set 2

Description
Discussion

Given a Binary Tree (BT), convert it to a Doubly Linked List(DLL). The left and right pointers in nodes are to be used as previous and next pointers respectively in converted DLL. The order of nodes in DLL must be the same as in Inorder for the given Binary Tree. The first node of Inorder traversal (leftmost node in BT) must be the head node of the DLL.  

Convert a given Binary Tree to Doubly Linked List _ Set 2: https://www.geeksforgeeks.org/convert-a-given-binary-tree-to-doubly-linked-list-set-2/