Tree: Depth-First Search - Flatten Binary Tree to Linked List
Given the final flattened linked list sequence [1, 2, 3, 4, 5, 6] obtained by the optimal flatten algorithm, which of the following was the original binary tree structure?
15+ quiz questions · All difficulty levels · Free
Free Signup - Practice All Questions