Ejemplo n.º 1
0
        public TreapNode <T> Merge(TreapNode <T> right)
        {
            var left = this;

            if (left != null)
            {
                left = left.GetRoot();
            }
            if (right != null)
            {
                right = right.GetRoot();
            }
            return(Merge(left, right));
        }