Groupon interview question

serialize and deserialize a tree, and an array of string