Google interview question

How would you perform a breadth traversal?