Skip to main contentSkip to solution

Identify the sorting technique :

In this, the smallest element is selected from the unsorted array and swapped with the leftmost element, and that element becomes a part of the sorted array. The process continues for the next element in the unsorted array till the list is sorted.

Solution

✅ Correct Option: 4

Selection sort repeatedly selects the smallest element from the unsorted part of the array and swaps it with the leftmost unsorted element. That position then joins the sorted part, and the process repeats for the remaining unsorted elements until the list is sorted.


Insertion sort: it takes the next element and inserts it into its correct place in the sorted part by shifting elements. It does not search for the minimum and swap.

Bubble sort: it repeatedly compares adjacent elements and swaps them if they are out of order, so large elements "bubble" to the end.

Merge sort: it is a divide and conquer method that splits the array, sorts the halves and merges them.

Keyboard Shortcuts

  • Left arrow: Previous question
  • Right arrow: Next question
  • S key: Jump to solution
  • Q key: Jump to question