edited by
648 views
0 votes
0 votes
An array A of size n is known to be sorted except for the first k elements and the last k elements, where k is a constant. Which of the following algorithms will be the best choice for sorting the array A?

a-Insertion Sort

b-Bubble sort

c-Quicksort

d-Selection sort
edited by

Please log in or register to answer this question.

Related questions

0 votes
0 votes
1 answer
1
Ram Swaroop asked Jan 27, 2019
1,310 views
Consider the hashing table with 'm' slots and 'n' keys. If the expected number of probes in unsuccessful search is 3. The expected number of probes in a successful search...
2 votes
2 votes
3 answers
3
1 votes
1 votes
2 answers
4
Shamim Ahmed asked Dec 11, 2018
1,244 views
Given a 2D array A[40….95, 40...95] in lower triangular representation, size of each element is 1 ByteArray implemented in row major order, base address is 1000Address ...