Concept Flow - Serialize and Deserialize Binary Tree
Start Serialization
Visit Node
Left Subtree
Serialize Left
Combine Results
End Serialization
Start Deserialization
Read Next Value
Create Node or Null
Deserialize Left
Combine Subtrees
End Deserialization
Serialization visits nodes in preorder, recording values and nulls; deserialization reads values to rebuild the tree recursively.
