LinkedIn Interview Question

Serialize a binary tree