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

Array algorithms: max, count, search, average · ⁨Algoritmos de array: max, count, search, average⁩

English

Common array jobs

  • Some array tasks come up again and again: find the sum, the biggest, the smallest, or count items.
  • Each one uses the same idea: start with a guess, then loop and update it.
  • These patterns appear all the time on the AP CSA exam.
Português

Tarefas comuns de array

  • Algumas tarefas de array aparecem repetidamente: encontrar a soma, o maior, o menor, ou contar itens.
  • Cada uma usa a mesma ideia: comece com um palpite, depois faça o loop e atualize.
  • Esses padrões aparecem o tempo todo no exame AP CSA.

Handout · ⁨Material de apoio⁩

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

IGCSE, A-Level & AP