Skip to content · ⁨Pular para o conteúdo⁩

Sorting: selection and insertion sort · ⁨Ordenação: selection sort e insertion sort⁩

English

Putting an array in order

  • Sorting means putting the values of an array in order, usually from small to large.
  • On the AP CSA exam you must be able to write and trace two sorts: selection sort and insertion sort.
  • You also need to trace (but not write) a third sort: merge sort. We look at all three here.
Português

Colocando um array em ordem

  • Ordenação significa colocar os valores de um array em ordem, geralmente do menor para o maior.
  • Na prova AP CSA você deve saber escrever e rastrear duas ordenações: selection sort e insertion sort.
  • Você também precisa rastrear (mas não escrever) uma terceira ordenação: merge sort. Vamos ver as três aqui.

Handout · ⁨Material de apoio⁩

Log in or create account · ⁨Entrar ou criar conta⁩

IGCSE, A-Level & AP