The sequence 10, 5, 9, 8, 4, 1, 23 has been put in a binary search tree. What is the LCA (Least Common Ancestor) of 9 and 4?

a. 5
b. 10
c. They don't have a parent node
d. It can't be determined


a. 5

Computer Science & Information Technology

You might also like to view...

Which of the following issues and maintains digital certificates?

A) Registration authority B) Certification authority C) Public key infrastructure D) Client nodes

Computer Science & Information Technology

To search for a period (.) in a string called strTest, call method

a) String.Search( strTest, "." ) b)String.IndexOf( strTest, "." ) c) strTest.IndexOf( "." ) d) strTest.Search( "." )

Computer Science & Information Technology

The virtual directory share permission ____ enables groups and users to read, execute, and add files, but can only modify and delete files provided by them.

A. owner B. reader C. co-owner D. contributor

Computer Science & Information Technology

To format a side heading of a report, apply the ____ style.

A. Heading 1 B. Heading 2 C. Heading 3 D. Title

Computer Science & Information Technology