コード例 #1
0
        public int TestGetRight(List <int> items, IComparer <int> comparator)
        {
            IterativeBinarySearchTree <int> tree = new IterativeBinarySearchTree <int>(items, comparator);

            return(tree.GetRight().Data);
        }
コード例 #2
0
        public string TestGetRight(List <string> items, IComparer <string> comparator)
        {
            IterativeBinarySearchTree <string> tree = new IterativeBinarySearchTree <string>(items, comparator);

            return(tree.GetRight().Data);
        }