V2EX = way to explore
V2EX 是一个关于分享和探索的地方
现在注册
已注册用户请  登录
V2EX 提问指南
Higurashi
V2EX  ›  问与答

2-sum 问题的下界

  •  
  •   Higurashi · 2022-02-17 16:16:54 +08:00 · 448 次点击
    这是一个创建于 812 天前的主题,其中的信息可能已经有所发展或是发生改变。

    在算法 4 的 1.4.5.3 节中,对 2-sum 有这样的一段说明:

    是否存在解决 2-sum 问题的线性级别的算法,3-sum 问题的线性对数级别的算法?对于 2-sum ,这个问题的回答是没有(成本模型仅允许使用并计算这些整数的线性或是平方级别的函数中的比较操作)...
    Is there a linear algorithm for 2-sum or a linearithmic algorithm for 3-sum? The answer to this question is no for 2-sum (under a model that counts and allows only comparisons of linear or quadratic functions of the numbers)...
    

    简单来说,我不懂 2-sum 的下界是如何确定的。2-sum 的成本模型是访问数组的次数,文中是如何由 2-sum 的成本模型确定了 2-sum 的下界?

    任何提示或想法都可能有帮助。谢谢。

    目前尚无回复
    关于   ·   帮助文档   ·   博客   ·   API   ·   FAQ   ·   我们的愿景   ·   实用小工具   ·   3655 人在线   最高记录 6543   ·     Select Language
    创意工作者们的社区
    World is powered by solitude
    VERSION: 3.9.8.5 · 24ms · UTC 11:11 · PVG 19:11 · LAX 04:11 · JFK 07:11
    Developed with CodeLauncher
    ♥ Do have faith in what you're doing.