Practice Problem
Flatten Binary Tree to Linked List
Difficulty: Medium
Given the root of a binary tree, flatten the tree into a linked list in-place using the right pointers in preorder traversal order.
Practice Problem
Difficulty: Medium
Given the root of a binary tree, flatten the tree into a linked list in-place using the right pointers in preorder traversal order.