Google Interview Question

Trees and graphs. Practice them very much.