Back to Questions

Flatten Binary Tree to Linked List (In-place)

88.6K viewsAsked at Amazon
Medium

Question Explain

Flatten a binary tree into a single singly linked list in-place. The list should use the right pointer and the order should be the same as preorder traversal.

Start Trying This Question Simulation

Practice answering orally or with text to get instant AI feedback.

Practice with This Question
Flatten Binary Tree to Linked List (In-place) - Interview Question