Pular para o conteúdo

Algoritmos de busca

Introduzido
Material de apoio
Videoaula para este tópico Abrir a página do vídeo
15:34

Busca & Ordenação

Um livro telefônico com um milhão de nomes. Se você verificar um de cada vez, pode fazer um milhão de comparações. Mas você já conhece o truque: abra-o no…

Narração em inglês · legendas em inglês e 中文 que você pode alternar

Nesta aula

Videoaula
Vocabulário
English Significado
comparisonsChecks that examine the relationship between values and give a true or false result.
list/lɪst/A collection of items arranged in a particular order.
linear search/ˈlɪnɪə sɜːtʃ/busca linear
binary search/ˈbaɪnəri sɜːtʃ/busca binária
element/ˈelɪmənt/A substance made of atoms with the same proton number.
target/ˈtɑːɡɪt/The value that a search is trying to find.
Worst caseThe situation where a search needs the most comparisons.
trace/treɪs/To follow an algorithm step by step and record its values.
linked listsData structures where each item stores a link to the next item.
arraysData structures that store items in positions accessed directly by their index.
Sorting/ˈsɔːtɪŋ/The process of putting items into a chosen order.
direct access/daɪˈrekt ˈækses/The ability to reach an item without going through earlier items.
recordsGroups of related data stored together as a single item.
algorithm/ˈælɡərɪθəm/A finite sequence of precise steps for solving a problem or carrying out a task.
lookup tableA collection of stored values used to find information quickly.
insertion/ɪnˈsɜːʃn/The process of adding a new item to a collection.
loop conditionA test that decides whether a loop should continue running.
Próximo →

Material de apoio

Entrar ou criar conta

IGCSE, A-Level & AP