Amazon Interview Question

Serialize/Deserialize n-tree Sort a linked list.