Filters
Question type

Both heap insert and remove are O(__________) , where n is the number of items in the heap.


A) log n
B) n
C) n2
D) n3

E) B) and C)
F) All of the above

Correct Answer

verifed

verified

A(n) __________ is a substring that is delimited by a pair of delimiter characters (examples of delimiter characters are spaces and punctuation symbols).

Correct Answer

verifed

verified

A heap is a complete binary tree with the following properties: • The value in the root is greater than or equal to all items in the tree. • __________

Correct Answer

verifed

verified

Every subt...

View Answer

A(n) __________ pointer is a class that acts like a pointer, but automatically deletes the object pointed to when the pointed-to object has no owners.

Correct Answer

verifed

verified

A(n) __________ of a node is a tree whose root is a child of that node.

Correct Answer

verifed

verified

Showing 21 - 25 of 25

Related Exams

Show Answer