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
natulia [17]
3 years ago
5

uppose that we have a function with a constant amount of work done in initialization, a call to a log-linearsorting algorithm, a

nd a loop that iterates n times, doing a linear amount of work in each iteration.What is the running time of the algorithm
Mathematics
1 answer:
White raven [17]3 years ago
7 0

Answer:

The running time is quadratic (O(n²) )

Step-by-step explanation:

For the set up, we have a constant running time of C. The, a log-linearsorting is called, thus, its execution time, denoted by T(n),  is O(n*log(n)). Then, we call n times a linear iteration, with a running time of an+b, for certain constants a and b, thus, the running time of the algorithm is

C + T(n) + n*(a*n+b) = an²+bn + T + C

Since T(n) is O(n*log(n)) and n² is asymptotically bigger than n*log(n), then the running time of the algorith is quadratic, therefore, it is O(n²).

You might be interested in
I didnt mean to click on the 31.50 but what is the answer ?
Genrish500 [490]

Answer:

D. $67.50

Step-by-step explanation:

A ticket costs $5.25, a drink costs $2.00, and a popcorn costs 4.00. Each person in the group buys all of these. So we know that each person is paying:

4.00 + 2.00 + 5.25 = 11.25

Since there are 6 people in the group we can multiply that by 6:

11.25 * 6 = 67.50

4 0
2 years ago
Read 2 more answers
Can someone help me with this please? I will mark you brainliest
lina2011 [118]

Answer:

On the vertical axis, place frequencies. Label this axis "Frequency".

On the horizontal axis, place the lower value of each interval. ...

Draw a bar extending from the lower value of each interval to the lower value of the next interval.On the vertical axis, place frequencies. Label this axis "Frequency".

On the horizontal axis, place the lower value of each interval. ...

Draw a bar extending from the lower value of each interval to the lower value of the next interval.On the vertical axis, place frequencies. Label this axis "Frequency".

On the horizontal axis, place the lower value of each interval. ...

Draw a bar extending from the lower value of each interval to the lower value of the next interval.On the vertical axis, place frequencies. Label this axis "Frequency".

On the horizontal axis, place the lower value of each interval. ...

Draw a bar extending from the lower value of each interval to the lower value of the next interval.On the vertical axis, place frequencies. Label this axis "Frequency".

On the horizontal axis, place the lower value of each interval. ...

Draw a bar extending from the lower value of each interval to the lower value of the next interval.On the vertical axis, place frequencies. Label this axis "Frequency".

On the horizontal axis, place the lower value of each interval. ...

Draw a bar extending from the lower value of each interval to the lower value of the next interval.On the vertical axis, place frequencies. Label this axis "Frequency".

On the horizontal axis, place the lower value of each interval. ...

Draw a bar extending from the lower value of each interval to the lower value of the next interval.On the vertical axis, place frequencies. Label this axis "Frequency".

On the horizontal axis, place the lower value of each interval. ...

Draw a bar extending from the lower value of each interval to the lower value of the next interval.On the vertical axis, place frequencies. Label this axis "Frequency".

On the horizontal axis, place the lower value of each interval. ...

Draw a bar extending from the lower value of each interval to the lower value of the next interval.On the vertical axis, place frequencies. Label this axis "Frequency".

On the horizontal axis, place the lower value of each interval. ...

Draw a bar extending from the lower value of each interval to the lower value of the next interval.On the vertical axis, place frequencies. Label this axis "Frequency".

On the horizontal axis, place the lower value of each interval. ...

Draw a bar extending from the lower value of each interval to the lower value of the next interval.On the vertical axis, place frequencies. Label this axis "Frequency".

On the horizontal axis, place the lower value of each interval. ...

Draw a bar extending from the lower value of each interval to the lower value of the next interval.On the vertical axis, place frequencies. Label this axis "Frequency".

On the horizontal axis, place the lower value of each interval. ...

Draw a bar extending from the lower value of each interval to the lower value of the next interval.On the vertical axis, place frequencies. Label this axis "Frequency".

On the horizontal axis, place the lower value of each interval. ...

Draw a bar extending from the lower value of each interval to the lower value of the next interval.vvOn the vertical axis, place frequencies. Label this axis "Frequency".

On the horizontal axis, place the lower value of each interval. ...

Draw a bar extending from the lower value of each interval to the lower value of the next interval.vcOn the vertical axis, place frequencies. Label this axis "Frequency".

On the horizontal axis, place the lower value of each interval. ...

Draw a bar extending from the lower value of each interval to the lower value of the next interval.On the vertical axis, place frequencies. Label this axis "Frequency".

On the horizontal axis, place the lower value of each interval. ...

Draw a bar extending from the lower value of each interval to the lower value of the next interval.On the vertical axis, place frequencies. Label this axis "Frequency".

On the horizontal axis, place the lower value of each interval. ...

Draw a bar extending from the lower value of each interval to the lower value of the next interval.

Step-by-step explanation:

6 0
3 years ago
How many different lines of symmetry does a square have?
Sedaia [141]

Answer:

4

Step-by-step explanation:

8 0
2 years ago
Solve for x please show work
Serggg [28]

Answer:

I am seeing you a LOT

Step-by-step explanation:

5 0
3 years ago
In 0.73, in which place is the 0
Svetllana [295]

Answer:

The digit '0' is in the ones place.

6 0
3 years ago
Read 2 more answers
Other questions:
  • 17/64 + 47/64 + 7/8 =<br>B.<br>1/16<br>134<br>151/64<br>1%<br>D.​
    10·1 answer
  • Your cell phone carrier charges you a flat rate of $60 a month for unlimited talk/text and 4 GB of data. You are charged $5 for
    8·1 answer
  • Un equipo de futbol esta compuesto por 13 personas, contando el entrenador y el masajista. Tras jugar un partido, reciben para t
    9·1 answer
  • What is the area of the figure?<br><br> Enter your answer in the box.<br><br> 400<br> in²
    7·2 answers
  • The domain of f(x) is {-2,0,1}. If f(x) = 4x+1, what is the range?
    13·1 answer
  • 5÷5/6<br><br>6÷3/7<br><br>8÷5/8<br><br>5÷15/8<br> help please​
    14·1 answer
  • Which graph represents the function of f(x) = the quantity of 4 x squared minus 16, all over 2 x minus 4?
    14·2 answers
  • A scholar surveyed educators to determine if there was correlation between age and holding a doctorate degree. The survey result
    11·1 answer
  • Select all of the statements that are true for the given parabola.
    8·2 answers
  • 100,85,70,_,40<br><br><br> What is the number pattern?
    12·2 answers
Add answer
Login
Not registered? Fast signup
Signup
Login Signup
Ask question!