Psychology, asked by XxIamAkashPhukanxX, 2 days ago

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

Answers

Answered by divyaSanjay
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.

I hope u will understand

mark me branilist plz

Similar questions