asked 105k views
5 votes
Suppose that on a particular computer, it takes the merge sort algorithm a total of 60 seconds to sort an array with 60,000 values. approximately how long will it take the algorithm to sort an array with 120,000 values? round to the nearest second.

asked
User TMB
by
8.2k points

1 Answer

5 votes
120 seconds is the answer. divide 120,000 by 60,000 get 2. 60 times 2 = 120
answered
User QTom
by
8.7k points
Welcome to Qamnty — a place to ask, share, and grow together. Join our community and get real answers from real people.