...

/

Flatten Binary Tree to Linked List

Flatten Binary Tree to Linked List

Try to solve the Flatten Binary Tree to Linked List problem.

Statement

Given the root of a binary tree, the task is to flatten the tree into a linked list using the same TreeNode class. The left child pointer of each node in the linked ...

Create a free account to view this lesson.

By signing up, you agree to Educative's Terms of Service and Privacy Policy