コンテンツへスキップ

ハッシング

導入済み
プリント
このトピックのビデオレッスン 動画ページを開く
15:07

ユーザー定義データ型

単純な文字列フィールドは、意味のない値でも喜んで格納します。「車両タイプ」を求め、誰かが「バナナ」と入力しても、プログラムは異議を唱えずに受け入れます。しかし、あなたが…

英語のナレーション・英語と中国語の字幕を切り替え可能

このレッスンの内容

動画レッスン
語彙
English 意味
key/kiː/キー
collision-resolution strategyA method for handling keys that produce the same hash address.
hash function/hæʃ ˈfʌŋkʃn/ハッシュ関数
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/アドレス
deterministic/dɪˌtɜːmɪˈnɪstɪk/決定論的
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/衝突
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ə/ロードファクター
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.

プリント

ログインまたはアカウント作成

IGCSE, A-Level & AP