Start learning →

Which sorting method

Exercise and reference answers

Items
  1. Item
    Swaps neighbours
    Category
    Bubble
  2. Item
    Compares adjacent
    Category
    Bubble
  3. Item
    Picks the smallest
    Category
    Selection
  4. Item
    Makes n-1 passes
    Category
    Selection
  5. Item
    Places into sorted
    Category
    Insertion
  6. Item
    Like a card hand
    Category
    Insertion
Categories
  1. Item
    Bubble
  2. Item
    Selection
  3. Item
    Insertion
Instructions
Tap each description into the sort it names.

Explanation

_Source: syllabus Computer Science, Ch 5 'Sorting' and Ch 6 'Searching'_
Try this exercise with Quill →

Browse more GATE CSE questions and exercises →