Nimble Robotics Interview Question

Serialize and deserialize n-ary tree