...
首页> 外文期刊>OASIcs : OpenAccess Series in Informatics >A Simple Near-Linear Pseudopolynomial Time Randomized Algorithm for Subset Sum
【24h】

A Simple Near-Linear Pseudopolynomial Time Randomized Algorithm for Subset Sum

机译:子集和的简单近线性伪多项式时间随机算法

获取原文
   

获取外文期刊封面封底 >>

       

摘要

Given a multiset S of n positive integers and a target integer t, the Subset Sum problem asks to determine whether there exists a subset of S that sums up to t. The current best deterministic algorithm, by Koiliaris and Xu [SODA'17], runs in O~(sqrt{n}t) time, where O~ hides poly-logarithm factors. Bringmann [SODA'17] later gave a randomized O~(n + t) time algorithm using two-stage color-coding. The O~(n+t) running time is believed to be near-optimal.In this paper, we present a simple and elegant randomized algorithm for Subset Sum in O~(n + t) time. Our new algorithm actually solves its counting version modulo prime pt, by manipulating generating functions using FFT.
机译:给定n个正整数和目标整数t的多重集S,子集总和问题要求确定是否存在S的总和为t的子集。 Koiliaris和Xu [SODA'17]提出的当前最佳确定性算法在O〜(sqrt {n} t)时间运行,其中O〜隐藏了多对数因子。 Bringmann [SODA'17]随后给出了使用两级颜色编码的随机O〜(n + t)时间算法。 O〜(n + t)的运行时间被认为是最佳的。在本文中,我们提出了一种简单而优雅的O〜(n + t)时间内子集总和的随机算法。实际上,我们的新算法通过使用FFT操纵生成函数来解决其计数版本模质数p> t的问题。

著录项

相似文献

  • 外文文献
  • 中文文献
  • 专利
获取原文

客服邮箱:kefu@zhangqiaokeyan.com

京公网安备:11010802029741号 ICP备案号:京ICP备15016152号-6 六维联合信息科技 (北京) 有限公司©版权所有
  • 客服微信

  • 服务号