freeCodeCamp/guide
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
..
arabic [Fix] correct Guide article example for Iterate Through the Keys of an Object with a for...in Statement (#35197) 2019-05-05 13:26:22 -05:00
chinese [Fix] correct Guide article example for Iterate Through the Keys of an Object with a for...in Statement (#35197) 2019-05-05 13:26:22 -05:00
english Adding Time Analysis for B-Trees (#31013) 2019-05-12 15:19:23 -07:00
portuguese Fix incorrect proper name translation and phrases with wrong meaning (#22950) 2019-05-12 10:00:00 -07:00
russian Update index.md (#30410) 2019-05-08 12:09:11 +04:00
spanish Code comments translated (#21909) 2019-05-12 12:42:55 +05:30