Page 1 of 1

For 1000 items, a sorting algorithm takes 10 seconds to run on machine A, but it takes only half that time to run in mac

Posted: Sat Feb 19, 2022 3:22 pm
by answerhappygod
For 1000 items, a sorting algorithm takes 10 seconds to run on
machine A, but it takes only half that time to run in machine B.
Approximately how long will the algorithm take to run on machine B
for 4000 items if the time complexity of the algorithm is
O(n2).