+16
-0
lines changedFilter options
+16
-0
lines changed Original file line number Diff line number Diff line change
@@ -325,6 +325,22 @@ traversal][traversal] that performs the following steps for each node _N_:
325
325
2. **R**: traverse [_tail_][term-tail]
326
326
3. **N**: visit _N_ itself
327
327
328
+
###### Enter
329
+
330
+
**Enter** is a step right before other steps performed on a given node _N_ when
331
+
[**traversing**][traversal] a tree.
332
+
333
+
For example, when performing _preorder_ traversal, **enter** is the first step
334
+
taken, right before visiting _N_ itself.
335
+
336
+
###### Exit
337
+
338
+
**Exit** is a step right after other steps performed on a given node _N_ when
339
+
[**traversing**][traversal] a tree.
340
+
341
+
For example, when performing _preorder_ traversal, **exit** is the last step
342
+
taken, right after traversing the [_tail_][term-tail] of _N_.
343
+
328
344
## Tree traversal
329
345
330
346
**Tree traversal** is a common task when working with a [_tree_][term-tree] to
You can’t perform that action at this time.
RetroSearch is an open source project built by @garambo | Open a GitHub Issue
Search and Browse the WWW like it's 1997 | Search results from DuckDuckGo
HTML:
3.2
| Encoding:
UTF-8
| Version:
0.7.4