Uber interview question

Serialize and Deserialize a General Tree