Pre-Order Traversal
← Back to Binary Trees
Visit node first, then left subtree, then right subtree. Useful for creating a copy of the tree or serializing its structure.
← Back to Binary Trees
Visit node first, then left subtree, then right subtree. Useful for creating a copy of the tree or serializing its structure.