Domanda di colloquio di Amazon

Serialize/Deserialize a binary tree. (Write a binary tree to file and reconstruct it by reading from the file)