<?xml version="1.0" encoding='utf-8'?>
<!DOCTYPE wml PUBLIC "-//WAPFORUM//DTD WML 1.1//EN" "http://www.wapforum.org/DTD/wml_1.1.xml">
<wml>
<card id="card1" title="Tree traversal - Page 17 - Wikipedia">
<p>
<a accesskey="1" href="page.php?w=Tree_traversal&amp;p=16">1.Previous</a><br />
<a accesskey="3" href="page.php?w=Tree_traversal&amp;p=18">3.Next</a>
</p>
<p>B C - * D E + +"; the latter can easily be transformed into <a href="page.php?w=machine_code">machine code</a> to evaluate the expression by a <a href="page.php?w=stack_machine">stack machine</a>. Post-order traversal is also used to delete the tree. Each node is freed after freeing its children.</p>

<p>In-order traversal is very commonly used on <a href="page.php?w=binary_search_tree">binary search tree</a>s because it returns values from the underlying set in order, according to the comparator that set up the binary search tree.</p>

<p><big>Implementations</big></p><p>
<a accesskey="1" href="page.php?w=Tree_traversal&amp;p=16">1.Previous</a><br />
<a accesskey="3" href="page.php?w=Tree_traversal&amp;p=18">3.Next</a>
</p>

<do type="prev" label="Search">
        <go href="search.wml"/>
</do>

</card>
</wml>
