The iteration is made using a deep-first algorithm.
.
Depth-first search (DFS) is an algorithm for traversing or searching tree or
graph data structures. One starts at the root (selecting some arbitrary node
as the root in the case of a graph) and explores as far as possible along each
branch before backtracking.
.
Node.js is an event-based server-side JavaScript engine.
Installed Size: 22.5 kB
Architectures: all