加载中…
Linear probing hash tables classically use a \emph{greedy} insertion strategy, placing a key in the first available position out of . If the hash table is filled to full, this results in worst-case expected insertion time. In this note, we show that there is a simple \emph{non-greedy} insertion strategy that does better, and without requiring elements to be reordered within the table over time. Given in advance, the strategy is able to bring the worst-case expected insertion time down to .

生成讲解博客的中文版本

生成AI智能校验的中文版本