GoConqr hat ein neues Design! Sag uns, wie es dir gefällt.

Notizen

Binary Search tree O(log n)

Keerthivasan A Englisch 2 Seiten

Binary Search tree O(log n)

Inhalt der Notizen (2)

Seite 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)

Seite 2

Informationen

Beschreibung
Notiz am Binary Search tree O(log n), erstellt von Keerthivasan A am 04/08/2017.
Erstellt von
Keerthivasan A
Aufrufe
0
Bewertung

Feedback

Worum geht es?

Wie gefällt dir das neue Design?

Dein Eindruck