Amazon interview question

First one is Serialization and Deserialization of Binary Tree.