Frage im Vorstellungsgespräch bei HealthTap

Implement BFS iteratively

Antwort im Vorstellungsgespräch

Anonym

14. Sept. 2016

more or less the same as DFS, except use Queue() instead of a stack, and change the push() and pop() methods to enqueue() and dequeue().