跳到正文
EasyXiv 检索
投稿 关于 登录

按回车检索 · 直接输入编号(如 1706.03762)可跳转到论文

计算机科学 > 数据结构与算法

arXiv:0911.3291 (cs)
[提交于 2009年11月17日]

标题:Recognizing well-parenthesized expressions in the streaming model

作者:F. Magniez, C. Mathieu, A. Nayak
查看论文《Recognizing well-parenthesized expressions in the streaming model》的 PDF
查看原文 PDF 中文 PDF (下批处理) EasyResearch 阅读
摘要:Motivated by a concrete problem and with the goal of understanding the sense in which the complexity of streaming algorithms is related to the complexity of formal languages, we investigate the problem Dyck(s) of checking matching parentheses, with $s$ different types of parenthesis. We present a one-pass randomized streaming algorithm for Dyck(2) with space $\Order(\sqrt{n}\log n)$, time per letter $\polylog (n)$, and one-sided error. We prove that this one-pass algorithm is optimal, up to a $\polylog n$ factor, even when two-sided error is allowed. For the lower bound, we prove a direct sum result on hard instances by following the "information cost" approach, but with a few twists. Indeed, we play a subtle game between public and private coins. This mixture between public and private coins results from a balancing act between the direct sum result and a combinatorial lower bound for the base case. Surprisingly, the space requirement shrinks drastically if we have access to the input stream in reverse. We present a two-pass randomized streaming algorithm for Dyck(2) with space $\Order((\log n)^2)$, time $\polylog (n)$ and one-sided error, where the second pass is in the reverse direction. Both algorithms can be extended to Dyck(s) since this problem is reducible to Dyck(2) for a suitable notion of reduction in the streaming model.
评论: 20 pages, 5 figures
主题: 数据结构与算法 (cs.DS); 计算复杂性 (cs.CC)
引用方式: arXiv:0911.3291 [cs.DS]
  (或者 arXiv:0911.3291v1 [cs.DS] 对于此版本)
  https://doi.org/10.48550/arXiv.0911.3291

提交历史

来自:Frederic Magniez
[v1] 2009年11月17日 星期二 12:42:11 UTC
全文链接:

访问论文:

  • 查看原文 PDF
  • 中文 PDF (下批处理)
  • EasyResearch 阅读
  • TeX 源文件
  • arXiv 原文页面
查看许可

当前浏览上下文:

cs.DS
< 上一篇   |   下一篇 >
最新 | 近期 | 2009-11
切换浏览方式为:
cs
cs.CC

参考文献与引用

  • Google Scholar
  • Semantic Scholar

BibTeX 格式的引用

EasyXiv 是独立运营的中文预印本站点,与 arXiv 及康奈尔大学无隶属关系。 论文元数据与原文来自 arXiv.org,感谢 arXiv 提供开放获取服务。
关于 · 帮助 · 投稿指南 · 版权 · arXiv 原站