B tree



hi all
i'm learning data structures and i have a question regarding b-trees.
suppose we have 2 B-trees: A and B, both of order m. one has a keys
and the other b keys. we know that all the keys in A are smaller than
the keys in B.
how can we make one B tree of order m out of both of them in
O(log(max(a,b))?
.



Relevant Pages

  • Re: Data structure for indexing on multiple keys.
    ... Shankar wrote: ... Do I create separate B-trees for each key? ... > Please note that this is not about composite keys but supporting ...
    (comp.programming)
  • Re: Data structure for indexing on multiple keys.
    ... Shankar wrote: ... Do I create separate B-trees for each key? ... > Please note that this is not about composite keys but supporting ...
    (comp.theory)
  • Re: B tree
    ... i'm learning data structures and i have a question regarding b-trees. ... and the other b keys. ... since root of B is placed at ther correct ... level the combined tree A+B is balanced. ...
    (comp.theory)
  • Re: B tree
    ... i'm learning data structures and i have a question regarding b-trees. ... and the other b keys. ... since root of B is placed at ther correct ... level the combined tree A+B is balanced. ...
    (comp.theory)
  • B-trees
    ... hi all i'm learning data structures and i have a question regarding b- ... trees. ... suppose we have 2 B-trees: A and B, both of order m. one has a ... keys and the other b keys. ...
    (comp.programming)