Computer Science, asked by Thenewbrain, 1 month ago

A machine took 200 sec to sort 200 names, using bubble sort. in 800 sec, it can approximately sort ?​

Answers

Answered by aadikumarvats
1

Answer:

For sorting 200 names bubble sort makes 200 * 199/2 = 19900 comparisons.So,the time needed for 1 comparison is 200 sec approx.In 800 sec it can make 80,000 comparisons.

Hope it helps you

PLEASE MARK AS BRAINLIEST ANSWER.

Answered by kridjcnncnf
1

Answer:

800 sort it is so simple answer ithink it is right

Similar questions