OurBigBook
About
$
Donate
Sign in
+
Sign up
by
Ciro Santilli
(
@cirosantilli,
34
)
Iterative pre-order
...
Graph (discrete mathematics)
Type of graph
Tree (data structure)
Tree traversal
Depth-first search
Pre-order depth-first search
This is the easiest one to do iteratively:
pop and visit
push right to stack
push left to stack
Ancestors
(10)
Pre-order depth-first search
Depth-first search
Tree traversal
Tree (data structure)
Type of graph
Graph (discrete mathematics)
Discrete mathematics
Area of mathematics
Mathematics
Home
Incoming links
(1)
Iterative in-order
View article source
Discussion
(0)
Subscribe (1)
+
New discussion
There are no discussions about this article yet.
Articles by others on the same topic
(0)
There are currently no matching articles.
See all articles in the same topic
+
Create my own version