LinkedIn interview question

Deserialize and Serialize a Binary tree