首页    期刊浏览 2024年10月06日 星期日
登录注册

文章基本信息

  • 标题:Property Testing on Linked Lists
  • 本地全文:下载
  • 作者:Peyman Afshani ; Kevin Matulef ; Bryan Wilkinson
  • 期刊名称:Electronic Colloquium on Computational Complexity
  • 印刷版ISSN:1433-8092
  • 出版年度:2013
  • 卷号:2013
  • 出版社:Universität Trier, Lehrstuhl für Theoretische Computer-Forschung
  • 摘要:

    We define a new property testing model for algorithms that do not have arbitrary query access to the input, but must instead traverse it in a manner that respects the underlying data structure in which it is stored. In particular, we consider the case when the underlying data structure is a linked list, and the testing algorithm is allowed to either sample randomly from the list, or walk to nodes that are adjacent to those already visited. We study the well-known monotonicity testing problem in this model, and show that \Theta(n^1/3) queries are both necessary and sufficient to distinguish whether a list is sorted (monotone increasing) versus a constant distance from sorted. Our bound is strictly greater than the \Theta(log n) queries required in the standard testing model, that allows element access indexed by rank, and strictly less than the \Theta(n) queries required by a weak model that only allows random sampling.

  • 关键词:Linked List; Monotonicity; Property Testing
国家哲学社会科学文献中心版权所有