Amazon Interview Question

Serialize and deserialize a binary tree