t;data)<br />   {<br />      bstDelete(root-&gt;right, data);<br />   }<br />   <strong>else</strong><br />   {<br /><span style="color: #236fa1;"><em>      // Hooray, we found the value we want to delete!</em></span><br /><br />      <strong>if</strong> (root-&gt;left == <strong>nullptr</strong> &amp;&amp; root-&gt;right == <strong>nullptr</strong>)<br />      {<br /><em><span style="color: #236fa1;">         // This is the case where the node has no children. We can simply remove it</span></em><br /><em><