160k views
4 votes
Which statement is false?

a) In a tightly packed binary tree, each level contains about twice as many elements as the previous level.
b) When searching a tightly packed 1,000,000-element binary search tree, a maximum of approximately 20 comparisons need to be made.
c) The level-order traversal of a binary tree visits the nodes of the tree row-by-row starting at the root node level.
d) Searching a binary tree for a value that matches a key value is slow for tightly packed trees.

User Mpriya
by
8.3k points

1 Answer

0 votes

Answer:

d) Searching a binary tree for a value that matches a key value is slow for tightly packed trees.

Step-by-step explanation:

Binary search tree is node based binary tree structure. It has the following features:

Left subtree of a node contains only nodes with keys less than the node keys.

Right subtree of a node contains only nodes with keys greater than the node;s key.

Left & Right subtree each must also a binary search tree.

User Ankit Batra
by
8.1k points

Related questions

Welcome to QAmmunity.org, where you can ask questions and receive answers from other members of our community.

9.4m questions

12.2m answers

Categories