Google Interview Question

Breath First Search Tree Algorithm