Akamai Interview Question

Serialize a binary tree.