Start learning →

Selection or insertion

Exercise and reference answers

Left
Selection
Items
  1. Region
    Selection
    Item
    Picks smallest
  2. Region
    Selection
    Item
    Makes n-1 passes
  3. Region
    Insertion
    Item
    Inserts in place
  4. Region
    Insertion
    Item
    Grows a run
  5. Region
    both
    Item
    Splits the list
  6. Region
    both
    Item
    Is a sort
Right
Insertion
Instructions
Drop each description into its sort, or into the overlap.

Explanation

_Source: syllabus Computer Science, Ch 5 'Sorting' and Ch 6 'Searching'_
Continue learning with Quill →

Browse more GATE CSE questions and exercises →