Skip to main contentSkip to solution

______________ sort places the element of a list at its suitable place in each pass. It is similar to the placing of cards at its right position while playing cards.

Solution

✅ Correct Option: 1

Insertion sort takes one element in each pass and inserts it into its correct position among the already sorted elements on its left. This is exactly how a person arranges playing cards in hand: pick up a card and slide it into its right place among the cards already held.


Selection sort: finds the smallest (or largest) element in the unsorted part and swaps it into position, rather than inserting each element into a sorted part.

Bubble sort: repeatedly compares and swaps adjacent elements, so the largest element "bubbles" to the end in each pass.

Keyboard Shortcuts

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