Ejemplo n.º 1
0
        //kullanılmayan metodlar

        public void inorder(Node_SF currentRoot)
        {
            if (currentRoot != null)
            {
                inorder(currentRoot.Left);
                Console.WriteLine(currentRoot.getString());
                inorder(currentRoot.Right);
            }
        }
Ejemplo n.º 2
0
        public void display()
        {
            if (headAndRoot != null)
            {
                Node_SF iterator = headAndRoot;

                while (iterator != null)
                {
                    Console.WriteLine(iterator.getString());
                    iterator = iterator.next;
                }
            }
        }