eBay Interview Question

Implement an n-ary tree