Google Interview Question

Define a tree graph structure