Papers
Topics
Authors
Recent
Assistant
AI Research Assistant
Well-researched responses based on relevant abstracts and paper content.
Custom Instructions Pro
Preferences or requirements that you'd like Emergent Mind to consider when generating responses.
Gemini 2.5 Flash
Gemini 2.5 Flash 88 tok/s
Gemini 2.5 Pro 59 tok/s Pro
GPT-5 Medium 31 tok/s Pro
GPT-5 High 30 tok/s Pro
GPT-4o 110 tok/s Pro
Kimi K2 210 tok/s Pro
GPT OSS 120B 461 tok/s Pro
Claude Sonnet 4.5 38 tok/s Pro
2000 character limit reached

Subset Sum in Near-Linear Pseudopolynomial Time and Polynomial Space (2508.04726v1)

Published 5 Aug 2025 in cs.DS and cs.CC

Abstract: Given a multiset $A = {a_1, \dots, a_n}$ of positive integers and a target integer $t$, the Subset Sum problem asks if there is a subset of $A$ that sums to $t$. BeLLMan's [1957] classical dynamic programming algorithm runs in $O(nt)$ time and $O(t)$ space. Since then, there have been multiple improvements in both time and space complexity. Notably, Bringmann [SODA 2017] uses a two-step color-coding technique to obtain a randomized algorithm that runs in $\tilde{O}(n+t)$ time and $\tilde{O}(t)$ space. On the other hand, there are polynomial space algorithms -- for example, Jin, Vyas and Williams [SODA 2021] build upon the algorithm given by Bringmann, using a clever algebraic trick first seen in Kane's Logspace algorithm, to obtain an $\tilde{O}(nt)$ time and $\tilde{O}(\log(nt))$ space algorithm. A natural question, asked by Jin et al. is if there is an $\tilde{O}(n+t)$ time algorithm running in poly$(n, \log t)$ space. Another natural question is whether it is possible to construct a deterministic polynomial space algorithm with time complexity comparable to that of BeLLMan's. In this paper, we answer both questions affirmatively. We build on the framework given by Jin et al., using a multipoint evaluation-based approach to speed up a bottleneck step in their algorithm. We construct a deterministic algorithm that runs in $\tilde{O}(nt)$ time and $\tilde{O}(n \log2 t)$ space and a randomized algorithm that runs in $\tilde{O}(n+t)$ time and $\tilde{O}(n2 + n \log2 t)$ space.

Summary

We haven't generated a summary for this paper yet.

Lightbulb Streamline Icon: https://streamlinehq.com

Continue Learning

We haven't generated follow-up questions for this paper yet.

Authors (1)

List To Do Tasks Checklist Streamline Icon: https://streamlinehq.com

Collections

Sign up for free to add this paper to one or more collections.