ServiceNow interview question

Serialise and Deserialise a binary tree