What do you do if you remove a node from a tree in an array-based implementation?

a. assign it to nullPtr
b. nothing, leave it as is, just don’t link anything to it
c. remove it from the array
d. add it to the free list


d. add it to the free list

Computer Science & Information Technology

You might also like to view...

Which of the following statements is false?

a. Interface IntPredicate’s default method and performs a logical AND operation with short-circuit evaluation between the IntPredicate on which it’s called and its IntPredicate argument. b. Interface IntPredicate’s default method invert reverses the boolean value of the IntPredicate on which it’s called. c. Interface IntPredicate default method or performs a logical OR operation with short-circuit evaluation between the IntPredicate on which it’s called and its IntPredicate argument. d. You can use the interface IntPredicate default methods to compose more complex conditions.

Computer Science & Information Technology

Which of the following operators has the highest precedence?

A. ! B. && C. = D. <=

Computer Science & Information Technology

Which ADT operation(s) on an external file require us to transfer information to/from internal memory?

a) removals only b) insertions only c) insertions and removals only d) insertions, removals and retrievals

Computer Science & Information Technology

Which of the following does not appear on the Coding toolbar?

A. Save Code button B. Code selection buttons C. Code formatting buttons D. Collapse and expand buttons

Computer Science & Information Technology