Pregunta de entrevista de Confluent

How would you serialise a binary tree?