Productiv interview question

Serialize and Deserialise a Binary Tree.