nt's place.</em></span><br />         root = temp;<br />      }<br />      <strong>else if</strong> (root-&gt;left == <strong>nullptr</strong>)<br />      {<br /><span style="color: #236fa1;"><em>         // This is the case where we have just one child: a right child. The</em></span><br /><span style="color: #236fa1;"><em>         // operation is symmetric to the one above.</em></span><br />         <strong>Node</strong> *temp = root-&gt;right;<br />         <strong>delete</strong> root;<br />         root