1answer.
Ask question
Login Signup
Ask question
All categories
  • English
  • Mathematics
  • Social Studies
  • Business
  • History
  • Health
  • Geography
  • Biology
  • Physics
  • Chemistry
  • Computers and Technology
  • Arts
  • World Languages
  • Spanish
  • French
  • German
  • Advanced Placement (AP)
  • SAT
  • Medicine
  • Law
  • Engineering
Shtirlitz [24]
3 years ago
8

Given the following sequence of integers: 12, 19, 10, 4, 23, 7, 45, 8, 15 Build a heap by inserting the above set, one integer a

t a time, in the given sequence. Show the heap after every insertion. How many comparisons in all did it take to build the heap? Perform successive delete operations on the heap constructed in the previous step, until the heap is empty. Show the heap after every deletion. How many comparisons in all did it take to perform these deletions?

Computers and Technology
1 answer:
Gre4nikov [31]3 years ago
7 0

Answer:

Check the explanation

Explanation:

Kindly check the attached images below to see the step by step explanation to the question above.

You might be interested in
How to add a table in word document
Veseljchak [2.6K]

Answer:

In Word, you can insert a table, convert text to a table, and even draw a table. To quickly insert a table: Select Insert > Table and move the cursor over the grid until you highlight the number of columns and rows you want.

Explanation:

hope this helps have a great day!

6 0
3 years ago
PLEASE HELP! Which aspect helps you to change the luminescence of your image?
Lera25 [3.4K]

Answer:

C. Contrast

Explanation:

Look at picture below :)

4 0
4 years ago
Read 2 more answers
Jacob wants to be a Steamfitter. He just finished his associate’s degree. Which best describes what he should do next?
romanna [79]
Bachelor's degree would be next in line .. im taking the test as well im going with A. 
8 0
3 years ago
Read 2 more answers
Misty is creating a professional development plan to advance in her current career. She has identified what job she wants, what
Leona [35]
I think the answer is C. It makes the most sense.
6 0
3 years ago
Read 2 more answers
Write a function that receives an integer list from STL and returns the sum of even numbers in the list (return zero if no even
Doss [256]

Answer:

int sumeven(int lis[],int n)

{

   int sum_e=0;//integer variable to store the sum.

   for(int i=0;i<n;i++)

       {

           if(lis[i]%2 == 0)//if the number is even adding to sum_e.

           sum_e=sum_e+i;

       }

   return sum_e;//retuning the sum.

   

}

Explanation:

The above written function is in C++.This function find the sum of even numbers in the list provided.It loops over the array and if the number is even adds to the variable sum_e finally return sum_e which having the sum of even numbers now.

8 0
3 years ago
Other questions:
  • * Declare a variablecalled "car" of type "Car", and initialise its value to a new instance of the "Car"class.
    9·1 answer
  • What key is used to create spaces between lines within a document?
    8·1 answer
  • True or False?
    5·1 answer
  • Which are the best examples of costs that should be considered when creating a project budget?
    11·1 answer
  • A(n) monitoring vulnerability scanner is one that listens in on the network and determines vulnerable versions of both server an
    7·1 answer
  • Mary is writing an article about the animal kingdom. She wants to place an image below the text. Which menu should Mary choose f
    14·1 answer
  • CLS <br> N = 1<br> FOR J = 1 TO 5 <br> PRINT N<br> N = 10*N+1 <br> NEXT J<br> END
    14·1 answer
  • Explain the role of ICT in banks​
    8·1 answer
  • WILL MARK BRAIN LIST!
    5·2 answers
  • If you want to remove the autocorrect options button from the screen, you can press the ____ key.
    15·1 answer
Add answer
Login
Not registered? Fast signup
Signup
Login Signup
Ask question!