Microsoft interview question

Consisted of BFS Search Algorithms.