Question d’entretien chez Yahoo

How do you serialize and de-serialize a binary tree?