What is the minimum number of nodes in a binary tree with L leaves?

a. log L
b. 2L – 1
c. 2L
d. 2^L
e. none of the above

B

Computer Science & Information Technology

You might also like to view...

Which of the following statements is true?

a. When you drive a car, pressing its gas pedal sends a message to the car to perform a task—that is, to go faster. b. You send messages to an object; each message is implemented as a method call that tells a method of the object to perform its task. c. A program might call a bank-account object’s deposit method to increase the account’s balance. d. All of the above statements are true.

Computer Science & Information Technology

Using the guidelines and suggestions in this chapter, design a user interface. Draw storyboards, then use Microsoft Access or another form-designing application to create the screens.

What will be an ideal response?

Computer Science & Information Technology