Azuga Interview Question

Given root of tree, implement pre order and in order