sábado, 19 de junio de 2010

More Binary Tree exercises

Binary Tree Node


public class BTNode
{
   char element;
   BTNode left;
   BTNode right;

   public BTNode(){}

   public BTNode(char element)
   {
      this.element = element;
   }

   public BTNode (int element, BTNode left, BTNode right)
   {
      this.element = element;
      this.left = left;
      this.right = right;
   }
}

No hay comentarios:

Publicar un comentario