ARI Simulation interview question

1>could i write a basic code for structure of binary trees