Almightytay4542 Almightytay4542
  • 21-11-2017
  • Computers and Technology
contestada

Merge sort has a o(n log2(n)) complexity. if a computer can sort 1,024 elements in an amount of time x, approximately how long will it take the computer to sort 1,024 times that many, or 1,048,576 elements?

Respuesta :

W0lf93
W0lf93 W0lf93
  • 30-11-2017
1,048,576 is 1,024 times 1,024, 1,024 * 1,024 or 1,024 squared or 1,024^2. If a computer takes x amount of time to sort 1,024 elements then the relationship is a 1 to 1. Therefore the computer will take x times x or x^2 (x squared) amount of time to sort 1,048,576.
Answer Link

Otras preguntas

if a ball rotates 110 degrees in 8 seconds how many degrees does it rotate in 32 seconds
What type of adaptation helps a living thing hide in its enviroment
Can I please get help with this I give thanks
When General Tojo Hideki came to power in Japan, he warned America to remain neutral in the war. True False
Which sentence does not contain any errors in comma usage? A. By the way I found your missing, leather gloves. B. On the contrary, she loves to eat frogs' legs.
What would 30 percent of 1300 dollars be
True or false, in an equation, you can use a letter as a variable.
Which sentence uses correct capitalization? A. There are nine judges on the Supreme court of Canada. B. We use bubble squeak brand of soap to wash dishes. C. Wh
Which sentence uses correct capitalization? A. Does your University offer Chinese language classes? B. I'd love to take Healthy Cooking 101 at the local culinar
Daneielle's rectangular bedroom has an area of 12 3/4 square meters.It is 3.4 meters long. How many meters wide is Danielle's bedroom?