A binary tree with just one node has height

A) -1
B) 0
C) 1
D) None of the above

B) 0

Computer Science & Information Technology

You might also like to view...

The default authentication option for external trusts is _____________ authentication

a. Domain-wide b. Forest-wide c. Selective d. None of the above.

Computer Science & Information Technology

Consider the statement below:

StringBuilder sb1 = new StringBuilder("a toyota"); Which of the following creates a String object with the value "toy"? a. String res = sb1.subString(2, 5); b. char dest[] = new char[sb1.length()]; sb1.getChars(2, 5, dest, 0); String res = new String(dest); c. char dest[] = new char[sb1.length]; dest = sb1.getChars(2, 5); String res = new String(dest); d. char dest[] = new char[sb1.length()]; dest = sb1.getChars(0, 3); String res = new String(dest);

Computer Science & Information Technology