Friday 28 October 2011

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


  1. Insertion

  2. Selection

  3. Exchange

  4. Deletion


Ans: Deletion

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.

2 comments: