Python icon indicating copy to clipboard operation
Python copied to clipboard

Add "Flatten binary tree to linked list algorithm"

Open Arunsiva003 opened this issue 3 years ago • 0 comments

Feature description

The "Flatten Binary Tree to Linked List" algorithm transforms a binary tree into a singly linked list where each node's left child is null, and the right child points to the next node in the flattened sequence. This is achieved by rearranging the tree's structure in a specific way.

Arunsiva003 avatar Oct 04 '23 12:10 Arunsiva003