adplus-dvertising
frame-decoration

Question

Consider the following complete binary tree and find out the height of the tree

a.

2

b.

3

c.

4

d.

5

Answer: (c).4

Engage with the Community - Add Your Comment

Confused About the Answer? Ask for Details Here.

Know the Explanation? Add it Here.

Q. Consider the following complete binary tree and find out the height of the tree

Similar Questions

Discover Related MCQs

Q. In a tree construction which one will suitable and efficient data structure?

Q. Which of following is not true about spanning tree?

Q. B–tree of order M is a tree having which of the following structural property?

Q. In a max heap both the addition and deletion operations can be performed in time

Q. Binary tree can be represented as

Q. Pre-order of A*(B+C) /D-G is

Q. Which of the following will have efficient space and time complexities?

Q. The worst case height of AVL tree with n nodes is

Q. The worst case complexity for searching an element in a binary search tree is

Q. The following sequence are inserted into a binary search tree:
6 10 25 12 4 7 15 8 33
What is the type of traversal given by: 6 4 10 7 25 8 12 33 15

Q. The running time of building MAX – HEAP is

Q. Which of the following sorting algorithm has average sorting behaviour

Q. The implementation of priority queue is

Q. If there are n elements in the heap, what is the time complexity of inserting new element in the heal in worst case?

Q. If a binary search tree traversed in order then numbers of the nodes will printed in

Q. In binary search tree which traversal is used for getting ascending order values?

Q. Building of heap operation will

Q. Which of the following is generally used to implement an almost complete binary tree?

Q. Which of the following is not an application of binary search trees?

Q. Consider the following statements:

I. An algorithm is a no.of steps to be performed to solve a problem
II. An algorithm is a no.of steps as well as the implementation using any language to a given Problem
III. To a given problem there may be more than one algorithm

Which one of the following is true?