Services
Discover
Homeschooling
Ask a Question
Log in
Sign up
Filters
Done
Question type:
Essay
Multiple Choice
Short Answer
True False
Matching
Topic
Computing
Study Set
Big Java Late Objects
Quiz 17: Tree Structures
Path 4
Access For Free
Share
All types
Filters
Study Flashcards
Practice Exam
Learn
Question 81
Multiple Choice
Which of the following statements about a heap is NOT correct?
Question 82
Multiple Choice
What is the efficiency of removing an element from a red-black tree?
Question 83
Multiple Choice
What is the efficiency of the heapsort algorithm?
Question 84
Multiple Choice
What is the complexity of adding an element to a heap?
Question 85
Multiple Choice
Which of the following statements about inserting a node into a red-black tree is NOT correct?
Question 86
Multiple Choice
If a min-heap has 14 nodes, what is known for certain when we add a new node? I every level of the tree will be fully occupied II the tree does not grow a new level III the root contains the smallest element
Question 87
Multiple Choice
If a min-heap has 15 nodes, what is known for certain? I every level of the tree is fully occupied II at least one level is missing a node III the root contains the smallest element
Question 88
Multiple Choice
When we map a min-heap with n elements to an array with n + 1 elements, we ignore array element 0, and place the root value at which array index?
Question 89
Multiple Choice
A min-heap is a binary tree structure in which missing nodes may only occur where?
Question 90
Multiple Choice
Insert the missing code in the following code fragment. This fragment is intended to create an iterator to be used to process elements of a tree. TreeSet<String> aTree = . . . String first = iter.next() ; String second = iter.next() ;
Question 91
Multiple Choice
If a min-heap has 1024 nodes, what is its height?
Question 92
Multiple Choice
Which action(s) will invalidate a min-heap so that, it may no longer have the properties of a min-heap? I change the value of the root node II remove the lowest level, right-most node III remove the lowest level, left-most node