Guavus Interview Question

Trees and Graph theory