scispace - formally typeset
Open AccessPosted Content

Modular Subset Sum, Dynamic Strings, and Zero-Sum Sets

TLDR
The computational version of a fundamental theorem in zero-sum Ramsey theory, the Erdős-Ginzburg-Ziv Theorem, which states that a multiset of n integers always contains a subset of cardinality exactly $n$ whose values sum to a multiple of $n$.
Abstract
The modular subset sum problem consists of deciding, given a modulus $m$, a multiset $S$ of $n$ integers in $0..m$, and a target integer $t$, whether there exists a subset of $S$ with elements summing to $t \pmod{m}$, and to report such a set if it exists. We give a simple $O(m \log m)$-time with high probability (w.h.p.) algorithm for the modular subset sum problem. This builds on and improves on a previous $\tilde{O}(m)$ w.h.p. algorithm from Axiotis, Backurs, Jin, Tzamos, and Wu (SODA 19). Our method utilizes the ADT of the dynamic strings structure of Gawrychowski et. al (SODA 18). However, as this structure is rather complicated we present a much simpler alternative which we call the Data Dependent Tree. As an application, we consider the computational version of a fundamental theorem in zero-sum Ramsey theory. The Erdős-Ginzburg-Ziv Theorem states that a multiset of $2n - 1$ integers always contains a subset of cardinality exactly $n$ whose values sum to a multiple of $n$. We give an algorithm for finding such a subset in time $O(n \log n)$ w.h.p. which improves on an $O(n^2)$ algorithm due to Del Lungo, Marini, and Mori (Disc. Math. 09).

read more

Citations
More filters

Maintaining dynamic sequences under equality-tests in polylogarithmic time

TL;DR: In this article, a deterministic and randomized data structure for maintaining a dynamic family of sequences under equality tests of pairs of sequences and creations of new sequences by joining or splitting existing sequences was presented.
Posted Content

Fast $n$-fold Boolean Convolution via Additive Combinatorics

TL;DR: A deterministic or randomized o(nk) algorithm running in almost linear time with respect to the input plus output size k is presented, and a new deterministic almost linear output-sensitive algorithm for non-negative sparse convolution is presented.
Posted Content

Faster Deterministic Modular Subset Sum

TL;DR: A simple data structure, designed specifically to handle the text problem that arises in the algorithms for Modular Subset Sum, is developed, which provides both a hashing-based and a deterministic variant of the shift-trees.
Journal ArticleDOI

Simple deterministic O(n log n) algorithm finding a solution of Erdős-Ginzburg-Ziv theorem

TL;DR: This article provides a deterministic algorithm for finding a solution of Erd˝os-Ginzburg-Ziv theorem in O ( n log n ) time.
Journal ArticleDOI

Dynamic Subset Sum with Truly Sublinear Processing Time

Hamed Saleh, +1 more
- 11 Sep 2022 - 
TL;DR: An algorithm whose amortized processing time for each operation is truly sublinear in t max when the number of operations is at least t 2 / 3+Ω(1) max and it is shown that when both element addition and element removal are allowed, there is no algorithm that can process each operation in time t 1 − Ω (1)max on average unless SETH 3 fails.
References
More filters
Journal ArticleDOI

Skip lists: a probabilistic alternative to balanced trees

TL;DR: Skip lists as mentioned in this paper are data structures that use probabilistic balancing rather than strictly enforced balancing, and the algorithms for insertion and deletion in skip lists are much simpler and significantly faster than equivalent algorithms for balanced trees.
Proceedings ArticleDOI

Making data structures persistent

TL;DR: This paper develops simple, systematic, and efficient techniques for making linked data structures persistent, and uses them to devise persistent forms of binary search trees with logarithmic access, insertion, and deletion times and O (1) space bounds for insertion and deletion.
Book ChapterDOI

Skip Lists: A Probabilistic Alternative to Balanced Trees

TL;DR: This paper describes and analyzes skip lists and presents new techniques for analyzing probabilistic algorithms.
Journal ArticleDOI

Randomized Search Trees

TL;DR: A randomized strategy for maintaining balance in dynamically changing search trees that has optimalexpected behavior, and generalizes naturally to weighted trees, where the expected time bounds for accesses and updates again match the worst-case time bounds of the best deterministic methods.
Journal ArticleDOI

Zero-sum problems in finite abelian groups: A survey

TL;DR: In this paper, the authors give an overview of zero-sum theory in finite abelian groups, a subfield of additive group theory and combinatorial number theory, and concentrate on the algebraic part of the theory.
Related Papers (5)