2-3-tree

    1

    1答えて

    したがって、2-3ツリーで正しい祖先を見つけることができません。任意の高さの2-3ツリーには、いくつかのケースがあります。 次のように私のノードが設計されています: template<typename DataType> struct node{ Node<DataType> *child1; //left-child Node<DataType> *child2; //mi

    0

    1答えて

    私はアルゴリズムに近づく方法を知らない。 私はそのような何か考えていた: TreeNode n = root; while(n.first.first!=0){ n=n.first; } // finding the leftMost parent //printing the first child key, then first num of parent, then seco