+1 vote
in Data Structures & Algorithms I by (88.2k points)
What will be the height of the hash tree with branching factor 2 and with 8 records?

(a) 3

(b) 5

(c) 4

(d) 6

This interesting question is from Hash Tables in portion Hash Tables of Data Structures & Algorithms I

I got this question in exam.

1 Answer

+1 vote
by (672k points)
selected by
Best answer
Right option is (c) 4

The best I can explain: Consider 8 records A B C D E F G H. These records are stored in Hash tree in as shown in figure below.

Related questions

Welcome to TalkJarvis QnA, a question-answer community website for the people by the people. On TalkJarvis QnA you can ask your doubts, curiosity, questions and whatever going in your mind either related to studies or others. Experts and people from different fields will answer.