Bank of America interview question

Breadth First Search and Depth First Search