In the following code for the __init__ method for the linked binary search tree, what is the missing code?
def __init__(self, sourceCollection = None): AbstractCollection.__init__(sourceCollection)

A. self.root = sourceCollection
B. self.root = None
C. sourceCollection.__init__(AbstractCollection)
D. self.leaf = root


Answer: B

Computer Science & Information Technology

You might also like to view...

In a manufacturing organization, the supply chain is a key value chain whose primary activities include all of the following EXCEPT:

A. inbound logistics B. finance and accounting C. marketing and sales D. customer service

Computer Science & Information Technology

GUI stands for Graphical User Interconnect

Indicate whether the statement is true or false

Computer Science & Information Technology

A new blank ________ displays when you start Excel 2010

Fill in the blank(s) with correct word

Computer Science & Information Technology

Windows 7 can be installed from a USB drive

Indicate whether the statement is true or false

Computer Science & Information Technology