ข้ามไปยังเนื้อหา

การแฮช (Hashing)

แนะนำใหม่
เอกสารประกอบการเรียน
บทเรียนวิดีโอสำหรับหัวข้อนี้ เปิดหน้าวิดีโอ
7:45

โครงสร้างข้อมูลและอัลกอริทึม

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…

บรรยายภาษาอังกฤษ · สลับคำบรรยายภาษาอังกฤษและภาษาจีนได้

ในบทเรียนนี้

บทเรียนวิดีโอ
คำศัพท์
English ความหมาย
hash function/hæʃ ˈfʌŋkʃn/ฟังก์ชันแฮช
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ə/ตัวชี้โหลด
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.
ถัดไป →

เอกสารประกอบการเรียน

เข้าสู่ระบบหรือสร้างบัญชี

IGCSE, A-Level & AP