Pergunta de entrevista da empresa Pinterest

Was asked to serialize and deserialize a binary tree to/from String