Tree: Depth-First Search - Flatten Binary Tree to Linked List
What is the auxiliary space complexity of the recursive in-place flatten algorithm that uses reverse preorder traversal on a binary tree with height h?
15+ quiz questions · All difficulty levels · Free
Free Signup - Practice All Questions