Saltar al contenido

Hashing

Introducido
Material
Lección de video para este tema Abrir la página de video
15:07

Tipos de datos definidos por el usuario

Un campo de cadena simple almacenará desorden felizmente. Pide un tipo de vehículo, y alguien escribe Bananas — el programa lo acepta sin murmurar. Pero si tú…

Narración en inglés · subtítulos en inglés y 中文 que puedes cambiar

En esta lección

Videolección
Vocabulario
English Significado
key/kiː/clave
collision-resolution strategyA method for handling keys that produce the same hash address.
hash function/hæʃ ˈfʌŋkʃn/función hash
hashing algorithmsMethods that calculate a storage address from a record's key.
slot/slɒt/A position in a hash table where a record can be stored.
search/sɜːtʃ/To look through data for an item that matches a given value.
insert/ˈɪnsɜːt/To add a new item to a data structure, file or table.
address/əˈdres/dirección
deterministic/dɪˌtɜːmɪˈnɪstɪk/determinista
modulo/məˈdjʊləʊ/A method that uses the remainder after division to find an address.
foldingA method that splits a key into parts and adds them before using modulo.
string hashA method that adds character codes and uses modulo to find an address.
character codesNumbers used to represent characters in a computer.
collision/kəˈlɪʒn/GLOSARIO {"sentido": "colisión", "asignatura": "a level computer science", "término": "collision"}
hash tablesData structures that use keys to calculate where records are stored.
Linear probing/ˈlɪnɪə ˈprəʊbɪŋ/A method that checks slots one after another until it finds a free slot.
cluster/ˈklʌstə/To form a group of records in slots next to each other.
Chaining/ˈtʃeɪnɪŋ/A method that keeps records with the same hash address in a linked list.
linked list/lɪŋkt lɪst/A sequence of nodes connected by references or pointers; the nodes need not occupy adjacent memory locations.
clustering/ˈklʌstərɪŋ/The forming of groups of records in slots next to each other.
pointers/ˈpɔɪntəz/A value that identifies a memory location or refers to another stored object.
RehashingA method that uses a second hash function to find another slot.
load factor/ləʊd ˈfæktə/factor de carga
probe sequencesThe slots checked, in order, when searching for or inserting a record.
linear search/ˈlɪnɪə sɜːtʃ/Checking items in sequence until the required item is found or the list ends.

Material

Iniciar sesión o crear cuenta

IGCSE, A-Level & AP