Faster Deterministic Modular Subset Sum
Krzysztof Pot\k{e}pa

TL;DR
This paper introduces a specialized data structure called the shift-tree to improve algorithms for the Modular Subset Sum problem, achieving faster deterministic solutions with near-linear runtime.
Contribution
The paper presents the shift-tree data structure and applies it to develop faster deterministic algorithms for Modular Subset Sum, matching previous randomized algorithms' efficiency.
Findings
Deterministic algorithm runs in O(m log m * α(m)) time.
Randomized algorithm matches O(m log m) runtime.
Shift-tree simplifies handling text problems in subset sum algorithms.
Abstract
We consider the Modular Subset Sum problem: given a multiset of integers from and a target integer , decide if there exists a subset of with a sum equal to . Recent independent works by Cardinal and Iacono (SOSA'21), and Axiotis et al. (SOSA'21) provided simple and near-linear algorithms for this problem. Cardinal and Iacono gave a randomized algorithm that runs in time, while Axiotis et al. gave a deterministic algorithm that runs in time. Both results work by reduction to a text problem, which is solved using a dynamic strings data structure. In this work, we develop a simple data structure, designed specifically to handle the text problem that arises in the algorithms for Modular Subset Sum. Our data structure, which we call the shift-tree, is a simple variant of a segment tree. We provide both a…
Peer Reviews
No public reviews on file for this paper yet. If you reviewed it on a platform where reviews are public (OpenReview, ICLR, NeurIPS, ICML), you can paste yours below so the community can read it here.
Videos
No videos yet. Explain this paper in a talk, walkthrough, or lecture? Add one.
