Passer au contenu

Algorithmes de recherche

Introduit
Fiche de cours
Leçon vidéo pour ce sujet Ouvrir la page vidéo
15:34

Recherche & Tri

Un annuaire téléphonique avec un million de noms. Si vous les vérifiez un par un, vous pouvez faire un million de comparaisons. Mais vous connaissez déjà l'astuce : ouvrez-le dans le…

Narration en anglais · sous-titres en anglais et en 中文 au choix

Dans cette leçon

Leçon vidéo
Vocabulaire
English Sens
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ʃ/recherche linéaire
binary search/ˈbaɪnəri sɜːtʃ/recherche dichotomique
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.
Suivant →

Fiche de cours

IGCSE, A-Level & AP