¡GoConqr estrena diseño! Cuéntanos qué te parece.

Apuntes

Binary Search tree O(log n)

Keerthivasan A Inglés 2 páginas

Binary Search tree O(log n)

Contenido del apunte (2)

Página 1

Binary Search Tree :

Property :

Any node in the tree must have lower in the left sub tree and higher values in the right sub tree.

Binary Search tree O(log n)

Basic operations include:

SEARCH

MINIMUM

MAXIMUM

PREDECESSOR

SUCCESSOR

INSERT

DELETE.

Can be represented using double linked list :

Key (node)

left

right

Tree traversals:

Inorder = print (left keys, root, right keys)

Preorder = print(root, left keys, right keys)

Postorder = print(left keys, right keys, root)

Página 2

Información

Descripción
Apunte sobre Binary Search tree O(log n), creado por Keerthivasan A el 04/08/2017.
Creado por
Keerthivasan A
Visitas
0
Valoración

Escríbenos

¿Sobre qué es tu mensaje?

¿Qué te parece el nuevo diseño?

¿Te gusta?