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]
3 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]3 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 is the correct definition of refraction?
scoray [572]

i believe it's C but i'm not completely sure

5 0
3 years ago
What advantages does an electromagnet have over a permanent magnet?
KonstantinChe [14]
Electromagnets can be turned off, this makes it easier to release things from the magnetic field. 

Hope this helps :)
4 0
3 years ago
PLEASE DO ASAP IM POSTING ONE MORE
KIM [24]

Answer rain gauge measures rain shadow units millimetres

7 0
2 years ago
Read 2 more answers
The graph shows the progress of a car which traveled 300 km in 5 hrs. Assuming that its speed remained constant, how far had the
lisov135 [29]
If the car travels
300 km.........................5 hrs
?km ..............................2h
to find out we do (300*2)/5=600/5=120km
also
300km/5h=60km/h
in 2 hours
120km
6 0
2 years ago
Does a thicker core make an electromagnet stronger?
goldenfox [79]

Answer:

Yes

Explanation:

The core of an electromagnet serves to stabilize the magnetic field created by the wire. The thicker the core, the more metal there is to amplify the current. Therefore, a thicker core does make an electromagnet stronger. Hope this helps!

5 0
3 years ago
Other questions:
  • Introduction This section describes the principles and concepts related to the experiment. It is used to help the person reading
    15·1 answer
  • What are some ways in which body fat can be measured
    6·1 answer
  • A vertical spring stretches 4.0 cm when a 12-g object is hung from it. The object is replaced with a block of mass 28 g that osc
    10·1 answer
  • An atom of this element would have a very easy time losing one electron to form an ionic bond with an atom of an element that wo
    15·1 answer
  • Help please!!! Brainlyist to the person who answers and explains correctly!
    12·2 answers
  • IF YOU PLAY METAL GEAR RISING COMMENT ON THIS QUESTION
    6·1 answer
  • D
    13·1 answer
  • To calculate acceleration you must know both the objects velocity and_____
    13·1 answer
  • A battery supplies 22V to a circuit with a 20. Ω resistor. What is the current of the circuit?
    6·1 answer
  • Which equation describes the sum of the vectors plotted below?
    5·1 answer
Add answer
Login
Not registered? Fast signup
Signup
Login Signup
Ask question!