Pregunta de entrevista de Myntra

Serialize a binary tree to send it as a string.