title: How to delete a node in Ternary Tree?
body: <p>I am working on implementing a Java program on inserting and deleting a node in a <em>ternary tree</em>. </p>
  
  <p>I am able to implement <em>insertion</em> without any issues, but I'm facing a few hiccups in implementing the <em>deletion</em> operation. </p>
  
  <p>So, my question is: </p>
  
  <blockquote>
    <p>How to delete a node from ternary tree if it has one or more child nodes?</p>
  </blockquote>
  
  <p>It will be great if you can share any <em>logic</em> or <em>pseudo-code</em> to implement the "delete" functionality.</p>