Question d’entretien chez Google

Difference between RB trees and B trees?

Réponses aux questions d'entretien

Utilisateur anonyme

13 juin 2013

A red black tree is a binary search tree that is analogous to a B tree of order 4. B trees are k ary search trees in which each level has up to k children and each child has k-1 values.... something like that, I don't know how specific an answer they wanted

Utilisateur anonyme

23 août 2013

A red-black tree is a self-balancing binary search tree. It is guaranteed to always be balanced, but is complex to implement. A B tree is a n-ary search tree in which each node has up to n-1 values and n children.

1

Utilisateur anonyme

29 juil. 2022

Red - black :- red black tree is binary tree representation of 2-4-3 tree. the child pointers in red- black tree is :- red and black... B- tree :- b tree is the size of each node which can be made as large as the size of the disk.. block size varies of each system

Utilisateur anonyme

29 juil. 2022

Red - black :- red black tree is binary tree representation of 2-4-3 tree. the child pointers in red- black tree is :- red and black... B- tree :- b tree is the size of each node which can be made as large as the size of the disk.. block size varies of each system

Utilisateur anonyme

6 juin 2013

I forgot