A team of programmers is trying to determine the efficiency of a piece of code. They run the code with inputs of different sizes and also record the number of iterations through the core block of code. The data is recorded in the table below. Input size iterations 10 200 20 400 30 600 40 800 50 1000 100 2000 based on the data provided, does this algorithm run in a reasonable or unreasonable time? explain your answer.

Respuesta :

Based on the data given, it should be noted that the algorithm run in reasonable time.

What is an algorithm?

Algorithm simply refers to the finite sequence that contains well-defined instructions that are used to solve specific problems.

It should be noted that reasonable and unreasonable algorithm is differentiated based on the growth rate of the iterations when the input is increased.

In this case, the algorithm doesn't grow exponentially. Therefore, it can be deduced that the algorithm runs in a reasonable time.

Learn more about algorithms on:

https://brainly.com/question/19154395