logo

Crowdly

IS52054A: ALGORITHMS 2 (2024-25)

Looking for IS52054A: ALGORITHMS 2 (2024-25) test answers and solutions? Browse our comprehensive collection of verified answers for IS52054A: ALGORITHMS 2 (2024-25) at learn.gold.ac.uk.

Get instant access to accurate answers and detailed explanations for your course questions. Our community-driven platform helps students succeed!

Partway through heapsort, the underlying array has contents [57,54,35,44,10,99]. What is the current heap size?
View this question
Partway through heapsort, the underlying array has contents [37,14,22,6,62,86,89,97]. What is the current heap size?
View this question
A max-heap is built in-place from the array [14,26,11,18,71,49,96,80].

What are the final contents of the newly-built heap?

0%
0%
0%
0%
0%
View this question
Partway through heapsort, the underlying array has contents [89,62,86,37,14,22,6,97]. What is the current heap size?
View this question
A max-heap is built in-place from the array [45,49,63,92,53,93,71,65].

What are the final contents of the newly-built heap?

0%
0%
0%
0%
0%
View this question
An empty max-heap is initialised by inserting elements one at a time, in order, from the array [50, 66, 58, 22, 28, 7, 8].

What are the final contents of the heap after executing EXTRACT-MAX thrice?

0%
0%
0%
0%
0%
View this question
A max-heap is built in-place from the array [63,38,13,67,72,60,68,4].

What are the final contents of the newly-built heap?

0%
0%
0%
0%
0%
View this question
An empty max-heap is initialised by inserting elements one at a time, in order, from the array [1,2,3,4,5].

What are the final contents of the heap after executing EXTRACT-MAX once?

0%
0%
0%
0%
0%
View this question
An empty max-heap is initialized by inserting elements one at a time, in order, from the array [89,9,98,16,29,76,77,73].

What are the final contents of the newly-built heap?

0%
0%
0%
0%
0%
View this question
An empty max-heap is initialized by inserting elements one at a time, in order, from the array [6,86,7,13,67,22,19,36].

What are the final contents of the newly-built heap?

0%
0%
0%
0%
0%
View this question

Want instant access to all verified answers on learn.gold.ac.uk?

Get Unlimited Answers To Exam Questions - Install Crowdly Extension Now!