Besonderhede van voorbeeld: 854609000096161147

Metadata

Data

Bulgarian[bg]
Ако в решението на предната задача заместим опашката със стек, ще получим обхождане в дълбочина. Хитро, нали?
English[en]
If in the solution of the previous problem we substitute the queue with a stack, we are going to get traversal in depth (DFS).

History

Your action: