Pergunta de entrevista da empresa Myntra

Serialize a binary tree to send it as a string.