OurBigBook
About
$
Donate
Sign in
Sign up
Iterative pre-order
Ciro Santilli
(
@cirosantilli,
37
)
...
Graph (discrete mathematics)
Type of graph
Tree (data structure)
Tree traversal
Depth-first search
Pre-order depth-first search
Updated
2025-07-16
0
Like
0 By others
on same topic
0 Discussions
Create my own version
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