Insilicom interview question

Breadth First Search. Machine Learning