retagged by
16,908 views
2 votes
2 votes
As part of maintenance work, you are entrusted with the work of rearranging the library books in a shelf in proper order, at the end of each day. The ideal choice will be—
(a) Bubble sort     (b) Insertion sort (c) Selection sort     (d) Heap sort
retagged by

1 Answer

1 votes
1 votes
I think insertion Sort (B) will be right answer.

looking at the question in its sense that you have to arrange books in a shelf you just need to pick the book and find its place using insertion sort. Keep repeating till end

Related questions

0 votes
0 votes
1 answer
1
pradeepchaudhary asked Jul 8, 2018
3,307 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...
0 votes
0 votes
0 answers
2
Rahul Ranjan 1 asked Jun 15, 2018
671 views
You are asked to sort 15 randomly generated numbers. One should prefer - 1. Bubble Sort2. Quick Sort3. Merge Sort4. Heap Sort Please explain why others 3 sorting algorith...
2 votes
2 votes
1 answer
3
pankaj_vir asked Mar 19, 2018
1,532 views
0 votes
0 votes
2 answers
4
reena_kandari asked Jan 10, 2017
542 views