Commit Graph

8 Commits

Author SHA1 Message Date
Jozef Maloch
d23f5ea952 Insertion (#30223) 2019-05-12 15:35:04 -07:00
Harshit Omer
c4f17674cf Adding Time Analysis for B-Trees (#31013)
* Adding Time Analysis for B-Trees

Time Analysis for B-Tree:

Suppose a B-tree has n elements and M is the maximum number of children a node can have. What is the maximum depth the tree could have? What is the minimum depth the tree could have?

    The worst-case depth (maximum depth) of a B-tree is: logM/2 n.
    The best-case depth (minimum depth) of a B-tree is: logM n.

Worst-Case Times for B-Trees:

    Adding or removing an element in a B-tree with n elements is O(log n).

* fix: removed duplicate info
2019-05-12 15:19:23 -07:00
25Harry
3e404cd075 Created required brackets in logn (#33401) 2019-05-12 14:58:05 -07:00
kellyhuang21
1a4d7a04ac Added b-tree insertion (#30195)
* Added b-tree insertion

* Added Insertion
2019-05-12 14:51:01 -07:00
Utkarsh Raghav
ab0c01a763 Updated Punctuation marks on Line 8 (#26663) 2019-01-08 12:37:32 -05:00
Qbuiba
3413848b5c lowercase the "The" word (#24022) 2018-12-02 16:09:25 -05:00
Okaba Mark N
9c476d6698 Updated #1 property of B-Trees (#22151) 2018-11-07 17:44:39 -05:00
Mrugesh Mohapatra
da0df12ab7 fix(guide): simplify directory structure 2018-10-16 21:32:40 +05:30