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
MAVERICK [17]
4 years ago
5

I have an algorithm that runs in O(N ), where N is the size of the problem. For N = 100, the time for the algorithm to run is 1

minute. How long does the algorithm take for N=1000? A) Same time B) 10 minutes C) 100 minutes D) 1000 minutes
Physics
1 answer:
hodyreva [135]4 years ago
4 0

Answer:

B) 10 minutes

Explanation:

When the size of the problem is 100 then it takes 1 minute to solve

100\ s=1\ min

So, when the size of the problem is 1 then it takes the following minutes

1\ s=\frac{1}{100}\ min

For when the size of the problem is 1000 we have

1000\ s=\frac{1000}{100}\ min=10\ min

So, it will take 10 minutes to solve the algorithm of size 1000

You might be interested in
what percentage of North American adults may be functioning below their potential due to prolonged exposure to stress
Yuliya22 [10]
I believe the percentage is between 15-20%. Stress is a well known factor that affects the performance of people.
6 0
3 years ago
How long does it take a vehicle to reach a velocity of 32 m/s if it accelerates from rest at a rate of 4.2 m/s^2?
Marta_Voda [28]

Answer:

7.62

Explanation:

because you have to divide 32/4.2

and can you do a friend request so i can accept it

4 0
3 years ago
What is the process of change in a crust due to the motion of hot material underneath?(answer)?
frutty [35]
Im not exactly sure but I think the answer is techtonic plates collide
5 0
3 years ago
The particles that are found in the nucleus of an atom are
kvv77 [185]

Answer: Electrons are the smallest of the three particles that make up atoms. Electrons are found in shells or orbitals that surround the nucleus of an atom

Explanation: hope this helps

8 0
3 years ago
What is the primary difference between an ideal emf device and a real emf device?.
EleoNora [17]

Answer:

A real emf device has an internal resistance, but an ideal emf device does not.

3 0
2 years ago
Read 2 more answers
Other questions:
  • What product of the greenhouse effect could lead to more extreme weather events?
    8·1 answer
  • 1.An 8-kilogram bowling ball is rolling in a straight line toward you. If its momentum is 16 kg•m/s, how fast is it traveling?
    10·1 answer
  • 7. Jezabelle was applying her makeup when she drove into Albuquerque migns busy
    14·1 answer
  • How are Neptune and Uranus allke?
    8·2 answers
  • Using the equation for force (due to weight) and your mass , calculate your force
    13·1 answer
  • If the moon's acceleration due to gravity caused by its gravitational field is one-sixth that of the earth, what is its accelera
    5·1 answer
  • The rates of obesity have more than doubled for children between the ages of 6 and 11 since the middle of the twentieth century.
    15·1 answer
  • If a train has 1,450 kg of momentum and is traveling at 40 m/s ¿what is the mass of tren?
    12·1 answer
  • Can somebody please help me? PLEASE
    8·1 answer
  • If you do 40 j of work in 4s, how much power did you generate?
    10·1 answer
Add answer
Login
Not registered? Fast signup
Signup
Login Signup
Ask question!