Pregunta de entrevista de Amazon

Write functions to serialize and deserialize a binary tree.