LinkedIn Interview Question

serialize and deserialize a tree