431 views
2 votes
2 votes
Recommend sorts for the following scenario:

i) A file of 15 records where each record is of a large size but the keys are simple.

ii) A large file of about 100 records.

iii) A file of 30 records where the records and keys are comparable in size.

X: insertion sort Y: quick sort Z: selection sort

A) i): X, ii): Y , iii): Z

B) i): X, ii): Z , iii): Z

C) i): Y, ii): Y , iii): X

D) i): Z, ii): Y , iii): X

Please provide explanation.

Please log in or register to answer this question.

Related questions

0 votes
0 votes
2 answers
2
_Madhuri asked Oct 9, 2021
667 views
The complexity of comparison based sorting algorithm is (nlogn) .How?
1 votes
1 votes
1 answer
4
iarnav asked May 4, 2019
855 views
I’ve seen this wikipedia article – https://en.wikipedia.org/wiki/Comparison_sortAlso see this link – https://gateoverflow.in/32948/minimum-number-of-comparisonshttp...