Medma Interview Question

program for tree using c.