Zillow interview question

Implement a ternary binary tree.