Amazon interview question

build a treenode from scratch