Google interview question

Computational complexity of graph traversal