IXL Learning Interview Question

build an ordered tree with the same structure with the given tree.