Passer au contenu

Hachage

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

Structures de données et algorithmes

This course is about choosing a container by what it costs. The first unit is the yardstick: how cost grows with the size of the input. The next four are the…

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

Dans cette leçon

Leçon vidéo
Vocabulaire
English Sens
hash function/hæʃ ˈfʌŋkʃn/fonction de hachage
collision/kəˈlɪʒn/
Chaining/ˈtʃeɪnɪŋ/a hash-table method that keeps all keys with the same hash in a list at that slot
Open addressing/ˈəʊpən əˈdresɪŋ/a hash-table method that stores every key in the array itself and probes other slots when one is taken
load factor/ləʊd ˈfæktə/facteur de charge
Clustering/ˈklʌstərɪŋ/the build-up of long runs of occupied slots in a hash table, which makes probes longer
resizes/rɪˈsaɪzɪz/grows the table (usually doubling it) and re-inserts every key when it becomes too full
Universal hashing/ˌjuːnɪˈvɜːsl ˈhæʃɪŋ/Choosing a hash function at random from a family so that any two keys collide with probability at most one over the number of buckets.
Suivant →

Fiche de cours

Se connecter ou créer un compte

IGCSE, A-Level & AP