+1 vote
in Data Structures & Algorithms I by (88.2k points)
How many nodes are required to create a Binary Decision Tree having 4 variables?

(a) 2^4

(b) 2^4-1

(c) 2^5

(d) 2^5-1

Asked question is from Binary Decision Diagrams &  And Inverter Graph topic in portion Graph of Data Structures & Algorithms I

I got this question in quiz.

1 Answer

+1 vote
by (737k points)
selected by
Best answer
Correct option is (d) 2^5-1

The best explanation: Binary Decision Trees are complete Binary Trees of level V + 1, here V is the number of variables.

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.