Sorting is not possible by using which of the following methods?

(a) Insertion (b) Selection (c) Exchange (d) Deletion



Sorting is not possible by using which of the following methods? (a) Insertion (b) Selectio..

Answer / rohit sah

Using insertion we can perform insertion sort, using selection we can perform selection sort, using exchange we can perform the bubble sort (and other similar sorting methods). But no sorting method can be done just using deletion.

Is This Answer Correct ?    0 Yes 0 No

Post New Answer

More Data Structures Interview Questions

What do you mean by union-by-weight?

0 Answers  


What is mergesort and hashtable?

0 Answers  


Can treeset contain null?

0 Answers  


What is the two-dimensional array?

0 Answers  


Is vector synchronized?

0 Answers  


I am given a sequential algorithm that does a routine search on an unordered list. N = 20. The probability that the value x does NOT appear in the list is exactly 60%, and the probability that x DOES appear is 40%. The 3 questions that I could not get were: A) What is the avg number of element comparisons performed when n = 20 and x does NOT appear in the List. (my answer was 20, is this correct?) B) What is the avg number of element comparisons peformed when n = 20 and x DOES appear in the list? C) What is the avg number of element comparisons performed when n = 20. This should be a single number answer they said.

3 Answers  


What are the types of bulleted list?

0 Answers  


Is complete binary tree?

0 Answers  


What do you mean by hash function?

0 Answers  


What is a b+ tree? Explain its uses.

0 Answers  


Why do we need arrays if all the operations that are performed on arrays can be performed on arraylist?

0 Answers  


Which is faster arraylist or hashmap?

0 Answers  


Categories