Toggle Navigation
Games
Blog
Class PIN
Join for Free
Sign in
Toggle Navigation
Games
PIN
Join for Free
Blog
Pricing
Contact us
Help center
Sign in
Study
Binary Trees Review
0
%
0
0
0
Back
Restart
What is the height of the tree?
0
Oops!
Okay!
The ____ of a Binary Search Tree starts by visiting the current node, then its left child node and then its right child node.
Pre-Order Traversal
Oops!
Okay!
How many pair of sibling nodes are in this Tree?
3
Oops!
Okay!
How could I get to the node with the K value?
root.left.right.right
Oops!
Okay!
Post order traversal :
1abc*+de*f+g*+
Oops!
Okay!
Which of these tree traversal methods is used to output the contents of a binary tree in ascending order?
In-Order
Oops!
Okay!
Preorder Traversal of the tree
1 4 9 8 5 2 3
Oops!
Okay!
In Order traversal
40 20 50 10 30
Oops!
Okay!
In a full binary tree...........................
Each node has exactly zero or two children
Oops!
Okay!
In array representation of binary tree, if the the data is on ith position what is the position of right child?
2i+1
Oops!
Okay!
Which is not a binary search tree?
B
Oops!
Okay!
It is the number of edges from the root to the node.
Depth of a Node
Oops!
Okay!
What are the nodes at depth 2?
[D,E,F,G]
Oops!
Okay!
What is the MAXIMUM number of nodes in a binary search tree with height = 5 ?
2^(h+1) – 1 => 2^6-1
Oops!
Okay!
In a full binary tree if number of internal nodes is I, then number of leaves L are?
Number of Leaf nodes in full binary tree is equal to 1 + Number of Internal Nodes i.e L = I + 1
Oops!
Okay!
Add What is the MINIMUM number of nodes in a binary search tree with height = 5?
6
Oops!
Okay!
Image What is the node above the node with the value E called?
parent
Oops!
Okay!
How many levels would a tree have to have be to contain 32 nodes(with the first level being considered as 0)?
4
Oops!
Okay!
Your experience on this site will be improved by allowing cookies.
Allow cookies