计算机科学 > 数据结构与算法
[提交于 2009年9月14日]
标题:Simple implementation of deletion from open-address hash table
查看原文 PDF 中文 PDF (下批处理) EasyResearch 阅读摘要:Deletion from open-address hash table is not so easy as deletion from chained hash table, because in open-address table we can't simply mark a slot containing deleted key as empty. Search for keys may become incorrect. The classical method to implement deletion is to mark slots in hash table by three values: "free", "busy", "deleted". That method is easy to implement, but there are some disadvantages. In this article we consider alternative method of deletion keys, where we avoid using the mark "deleted". The article contains the implementation of the method in Java.
提交历史
来自:Maxim Kolosovskiy[v1] 2009年9月14日 星期一 13:36:58 UTC