InterviewSolution
Saved Bookmarks
| 1. |
What are ways in which sorting can be perfomed? |
|
Answer» Common SORTING algorithms Bubble/Shell sort : Exchange two adjacent elements if they are out of order. ... Insertion sort : Scan successive elements for an out-of-order ITEM, then insert the item in the proper PLACE. Selection sort : FIND the smallest (or biggest) element in the array, and PUT it in the proper place. |
|