The topic comes from a question:
Would you rather wait for the results of a quicksort, a linear search,
or a bubble sort on a 200000 element array?
1Quicksort
2Linear Search
3Bubble Sort
The answer is 2Linear Search
Could someone explain why Linear Search, not the other two options?
Or I misunderstood the original question?
Thanks you guys!
Would you rather wait for the results of a quicksort, a linear search,
or a bubble sort on a 200000 element array?
1Quicksort
2Linear Search
3Bubble Sort
The answer is 2Linear Search
Could someone explain why Linear Search, not the other two options?
Or I misunderstood the original question?
Thanks you guys!
Comment