首页
友链
关于

数据结构与算法 课堂笔记 5:哈希(Hash)

03 / 20 / 2023 (最后编辑于 03 / 20 / 2023)
预计阅读时间 1 分钟

A good hash function:

Fast computation, minimal collision.

Collision Resolution

Open Addressing

General rule: If collide, try other slots in a certain order.

Linear Probing

Quadratic Probing

Double Hashing

Separate Chaining

Rehashing

Application

Question: Perfect Hashing