GoConqr has a new look! Let us know what you think.

Notes

Binary Search tree O(log n)

Keerthivasan A English 2 pages

Binary Search tree O(log n)

Content of the notes (2)

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

Page 2

Information

Description
Note on Binary Search tree O(log n), created by Keerthivasan A on 04/08/2017.
Created by
Keerthivasan A
Views
0
Rating

Feedback

What is it about?

What do you think of the new look?

How do you like it?