function, by the way, is to get rid of the <span class="code-chonk">current</span> pointer altogether. We can change what <span class="code-chonk">root</span> is pointing to locally because it's not a reference; it's just a local pointer variable:</p>
<pre style="margin-left: 30px; font-family: monospace; font-size: 11px; width: 600px; background-color: #fff9e7;"><span style="color: #236fa1;"><em>// Returns the largest value in this binary tree.<br />// </em><span style="background-color: #ba372a; color: #f