全部书籍

专业

应用 关于 Coach 登录 开始阅读

书籍暂未推出简体中文版——当前显示英文版。

Computer Science · 术语表

什么是 Separate chaining, open addressing, linear probing, tombstone?

又称: separate chaining · open addressing · linear probing · tombstone

Definition 16.4 University Computer Science — Year 1 · 第 16 章 — Hash Tables

In separate chaining, each bucket holds a linked list of the entries that belong to it. In open addressing, all entries live in the array itself, and a key whose position is taken goes to another position, computed by a fixed rule; with linear probing, the next position, cyclically. A deletion in open addressing leaves a tombstone: a mark that the slot is free for an insertion but that a search must go past.

在原文中阅读 →