T
R
E
E
V
I
S
U
A
L
I
Z
E
R
ARRAY:
Binary Tree Visualization
Max-Heap Visualization
Binary Search Tree Visualization
Choose an option
Below is the binary tree of given input
10
20
60
30
70
40
50
10
20
60
30
70
40
50
[ 0 ]
[ 1 ]
[ 2 ]
[ 3 ]
[ 4 ]
[ 5 ]
[ 6 ]
index of current/parent node : i
index of left child node : 2i + 1
index of right child node : 2i + 2