Sorting
closed

closed by
942 views
0 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 ?
Position:
Show:

Related questions

1 1 vote
3 3 answers
2.2k
2.2k views
Shubhanshu asked Jun 6, 2017
2,160 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 crct...
0 0 votes
1 1 answer
3.7k
3.7k views
pradeepchaudhary asked Jul 8, 2018
3,744 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 2 votes
2 answers 2 answers
2.6k
2.6k views
Bikram asked Nov 26, 2016
2,627 views
Meena is working in an IT company as HR manager. She has a large list of potential candidates to be recruited which are all sorted by their names. But she found that due ...
2 2 votes
1 answers 1 answer
2.3k
2.3k views
pankaj_vir asked Mar 19, 2018
2,276 views
Consider the following two statements:P: There exists a comparison sort of 5 numbers that uses at most 6 comparisons in worst case.Q: Heap sort can be used as the auxilia...