Skip to content

MAliKaya53/PatikaDEV_Project3

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

6 Commits
 
 

Repository files navigation

PatikaDEV_Project3

Binary Search Tree

[7, 5, 1, 8, 3, 6, 0, 9, 4, 2]

~Question: Write Binary Search Tree stages of the array

~Solution:

Binary Search Tree is a node-based binary tree data structure which has the following properties:

1)The left subtree of a node contains only nodes with keys lesser than the node’s key.

2)The right subtree of a node contains only nodes with keys greater than the node’s key.

3)The left and right subtree each must also be a binary search tree.

1.step:

1

2.step:

2

3.step:

3

4.step:

4

5.step:

5

6.step:

6

7.step:

7

8.step:

8

9.step:

9

www.patika.dev

About

Binary Search Tree

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published