首页    期刊浏览 2025年02月20日 星期四
登录注册

文章基本信息

  • 标题:Faster Deterministic Dictionaries
  • 本地全文:下载
  • 作者:Rasmus Pagh
  • 期刊名称:BRICS Report Series
  • 印刷版ISSN:0909-0878
  • 出版年度:1999
  • 卷号:6
  • 期号:48
  • 出版社:Aarhus University
  • 摘要:We consider static dictionaries over the universe U = {0, 1}^w on a unit-cost RAM with word size w. Construction of a static dictionary with linear space consumption and constant lookup time can be done in linear expected time by a randomized algorithm. In contrast, the best previous deterministic algorithm for constructing such a dictionary with n elements runs in time O(n^(1+epsilon)) for epsilon > 0. This paper narrows the gap between deterministic and randomized algorithms exponentially, from the factor of n^epsilon to an O(log n) factor. The algorithm is weakly non-uniform, i.e. requires certain precomputed constants dependent on w. A by-product of the result is a lookup time vs insertion time trade-off for dynamic dictionaries, which is optimal for a certain class of deterministic hashing schemes.
国家哲学社会科学文献中心版权所有