Sorting
closed

closed by
677 views
0 votes
0 votes
closed as a duplicate of: Self doubt
You are asked to sort 15 randomly generated numbers. One should prefer -

1. Bubble Sort

2. Quick Sort

3. Merge Sort

4. Heap Sort

 

Please explain why others 3 sorting algorithms except the answer can't be used ?
closed by

Related questions

1 votes
1 votes
3 answers
1
Shubhanshu asked Jun 6, 2017
1,650 views
You are asked to sort 15 randomly generated numbers. One should prefer—(a) Bubble sort (b) Quick sort (c) Merge sort (d) Heap sortI think the answer should be c or d cr...
0 votes
0 votes
1 answer
2
pradeepchaudhary asked Jul 8, 2018
3,324 views
You have to sort 1 GB of data with only 100 MB of available main memory. Which sorting technique will be most appropriate?1)QuickSort2)MergeSort3)HeapSort4)Selection Sort...
2 votes
2 votes
1 answer
3
pankaj_vir asked Mar 19, 2018
1,534 views
1 votes
1 votes
1 answer
4
reena_kandari asked Jul 30, 2016
998 views
The number of elements that can be sorted in time using heap sort ?