edited by
3,867 views

3 Answers

0 0 votes

Binary tree :- Any tree with max two child nodes

Full Binary tree:- Any tree with a given level h having 2^h-1 elements

complete binary tree : if we start removing elements from full binary tree ( 0 or more from rightmost leaf node )result will always be a CBT 

almost CBT : it is a complete binary tree in which  last level is not full (i.e at least one element has to be removed from full binary tree)

BST  is based on values values in left are less than root and values at right are more than root

e.g  

         30

12              45

for balanced BST refer

https://www.cpp.edu/~ftang/courses/CS241/notes/self%20balance%20bst.htm

edited by
0 0 votes
courses.cs.vt.edu/~cs3114/Fall09/wmcquain/Notes/T03a.BinaryTreeTheorems.pdf

i think u should give it a try.
0 0 votes

In above are the types of binary tree

edited by
Position:
Show:

Related questions

0 0 votes
1 1 answer
1.1k
1.1k views
srestha asked Aug 14, 2018
1,061 views
Why not this code not printing 10?(It is just a binary tree with one node i.e. root. And value of root is 10)#include <stdio.h #include<stdlib.h struct BinaryTree *root=N...
11 11 votes
1 answers 1 answer
3.2k
3.2k views
Lakshman Bhaiya asked Feb 2, 2018
3,180 views
Q1. How many binary search trees possible with $11$ distinct key?Q2. How many binary search trees possible with $11$ un-labelled nodes?Q3. How many binary search trees po...
1 1 vote
1 answers 1 answer
2.3k
2.3k views
iarnav asked Jan 7, 2018
2,251 views
Consider a binary tree T that has 100 leaf nodes. Then the number of INTERNAL nodes in T that have exactly two children are ______.
0 0 votes
1 1 answer
2.1k
2.1k views
humblefool asked Nov 7, 2017
2,073 views
Given the preorder/postorder and inorder traversal of a binary tree, we can always construct a unique binary tree (I think so, correct me if I am wrong)Construct a binary...