Esempio n. 1
0
        public int min()
        {
            int lowest = number;

            if (left != null)
            {
                lowest = left.min();
            }
            return(lowest);
        }
Esempio n. 2
0
 /**
  * Returns the smallest value in the tree (or -1 if tree is empty)
  */
 public int min()
 {
     return(root.min());
 }