IBM Interview Question

Asked me about tree and graphs