Re: Binary tree help please

It depends if you want to create a Binary Tree or a Binary Search Tree. The main difference between the two is with the BST, nodes to the left are greater than those to the right. This allows the tree to be efficiently searched. A BST can can have many different variations, from a completely balanced tree to a completely unbalanced tree depending on the root node value.

Re: Binary tree help please

I'm not sure it just says to draw that complete binary tree from the array. I then have to heapify the tree into a maximum heap. (I know how to do this) Then I will be inserting and removing nodes into the tree.

I am just checking if the tree is correct to begin with.

Thank you