Question: 1 0 2 3 comparisons Home Cannot tell. Worst cases vary. Announcements Syllabus Modules Assignments Jiscussions loom irades eople STE Question 4 2 pts Here

1023 comparisons
Home
Cannot tell. Worst cases vary.
Announcements
Syllabus
Modules
Assignments
Jiscussions
loom
irades
eople
STE
Question 4
2 pts
Here are two statements about binary minheaps and their vector representations:
(A) Every vector with its values stored in ascending order can be used as representation of a binary minheap.
(B) When a binary minheap (picture a diagram) is converted to its vector representation, this vector have its values stored in ascending order.
Statement A and B are both true.
Statements A and B are both false.
Statement B is true, A is false.
Statements A is true, B is false.
Question 5
2 pts
Does a vector with values 7,19,16,3,27,11,8,21,15(stored in this order) form a "min-heap"?
 1023 comparisons Home Cannot tell. Worst cases vary. Announcements Syllabus Modules

Step by Step Solution

There are 3 Steps involved in it

1 Expert Approved Answer
Step: 1 Unlock blur-text-image
Question Has Been Solved by an Expert!

Get step-by-step solutions from verified subject matter experts

Step: 2 Unlock
Step: 3 Unlock

Students Have Also Explored These Related Databases Questions!