SirionLabs interview question

Serialisation and deserialization of binary tree