Skip to main content
archive Search
Submit Donate Log in

Press Enter to search · Advanced search

Data Structures and Algorithms

  • New submissions
  • Cross-lists
  • Replacements

See recent articles

Showing new listings for Friday, 4 December 2026

Total of 46 entries
Showing up to 2000 entries per page: fewer | more | all

New submissions (showing 21 of 21 entries)

[1] arXiv:2612.04427 [pdf, html, other]
Title: Deterministic Exact Matching in Subexponential Time
Dave Goel
Comments: 13 pages, 3 figures; Lean 4 formalization at this https URL
Subjects: Data Structures and Algorithms (cs.DS); Discrete Mathematics (cs.DM); Combinatorics (math.CO)

In 1982 Papadimitriou and Yannakakis posed the Exact Matching problem: given a graph with red and blue edges and an integer $k$, decide whether it has a perfect matching with exactly $k$ red edges. Mulmuley, Vazirani, and Vazirani (1987) placed Exact Matching in $\mathrm{RNC} \subseteq \mathrm{RP}$, yet on general $n$-vertex graphs no deterministic $2^{o(n)}$-time algorithm was known before the November 2026 permanent lower bounds. On such graphs ($n \ge 2$) we give a deterministic algorithm running in time $2^{2^{K'(\log_2 n)^{3/4}}} = 2^{n^{o(1)}}$ ($K'>0$) for Exact Matching (with witness recovery), and likewise (with $K'$ depending on $C$) for prescribed total weight with edge weights in $[-n^C, n^C]$ or prescribed label sum in any finite abelian group of order at most $n^C$ ($C>0$). For low-degree integer polynomial identity testing (PIT) on arithmetic circuits over $\mathbb{Z}$ of encoding length at most $s \ge 2$ computing polynomials of total degree and coefficient bit-length at most $s$, the same method runs in deterministic time $2^{2^{K(\log_2 s)^{3/4}}} = 2^{s^{o(1)}}$ ($K>0$). These bounds are based on the November 2026 permanent lower bound of Anthropic (formalized in Lean 4), or independently OpenAI; OpenAI's stronger bound sharpens the Exact Matching time to $2^{2^{O((\log_2 n)^{1/2}\log_2\log_2(n+2))}}$. Whereas Kabanets and Impagliazzo (2004) with division-free Pfaffians give deterministic time $2^{n^\varepsilon}$ per fixed $\varepsilon>0$ from any superpolynomial permanent lower bound, our quantitative tradeoff and integral group-ring Pfaffian circuit sharpen this uniformly to $2^{n^{o(1)}}$ and extend it to arbitrary polynomial-order finite abelian groups. Taking the cited permanent lower bounds as input, Lean verifies test correctness, the matching reductions, witness recovery and the evaluation count; the running-time bounds are outside this verification.

[2] arXiv:2612.04442 [pdf, html, other]
Title: Induced and Isometric Path Cover and Partition on Distance-Hereditary and Chain Graphs
Gautam K. Das, Kamal Santra
Subjects: Data Structures and Algorithms (cs.DS); Discrete Mathematics (cs.DM); Combinatorics (math.CO)

How many induced paths are needed to cover the vertices of a graph, and how many are needed if the paths must be disjoint? We give a dynamic program that constructs a minimum cover or partition of an $n$-vertex distance-hereditary graph in $O(n^9)$ time. Every induced path in such a graph is a shortest path, so the algorithms also solve the isometric variants. At a cut of a binary decomposition, the algorithm counts the unfinished path fragments of each of three types. These counts suffice even when different paths of a cover share vertices. On cographs the state reduces to two counters, and both problems can be solved in $O(n^5)$ time. For chain graphs, we use the canonical partitions of Chakraborty et al. Once four path counts are fixed, the remaining feasible choices for a partition form an interval. This gives an $O(n^4)$ algorithm for partition and, by also optimizing the number of copies of an extremal vertex, an $O(n^5)$ algorithm for cover.

[3] arXiv:2612.04444 [pdf, html, other]
Title: Spectral Contraction for Shellsort with Restricted Gaps
Miaozhen Yu
Comments: 20 pages. Includes Lean formalization and reproducibility materials
Subjects: Data Structures and Algorithms (cs.DS)

For every eventually periodic set of permitted nonfinal gaps, we determine the order of the minimum mean number of Shellsort comparisons. We also determine its leading coefficient in several cases. The gap table is fixed before the input is drawn uniformly and ends in gap $1$. For a nonempty tail of period $q$, let $d$ be the gcd of $q$ and its allowed residues. The optimal mean is $\Theta(n\log n)$ for $d=1$ and $\Theta(n^{3/2})$ for $d>1$. For $d=2$ the largest allowed odd gap $h$, including $1$, gives the exact coefficient $\sqrt{\pi/128}/h$. For a finite catalogue, let $B$ be the largest gap, counting the compulsory gap $1$. The minimum mean is $n^2/(4B)+O_B(n^{3/2})$. A spectral estimate for a word of chain sorts yields schedules on the residue classes. An inversion transfer lemma gives the cost of each divisor change. A matching lower bound gives the exact coefficient for nested divisor exceptions. Sharpness of the upper bound for general mixed exceptions remains open. When $d=1$, prefixes of one random schedule give approximate rankings at every prescribed accuracy. The unrestricted mean order also follows from concurrent work of Du and Wan. Lean verifies this order and the pointwise parity lower bound.

[4] arXiv:2612.04445 [pdf, html, other]
Title: Partial Conflict-Free Coloring on AT-Free and Permutation Graphs
Sriram Bhyravarapu, Gautam K. Das, Kamal Santra
Subjects: Data Structures and Algorithms (cs.DS); Discrete Mathematics (cs.DM); Combinatorics (math.CO)

In a partial conflict-free coloring, vertices may remain uncolored, and every prescribed neighbourhood must contain a color that occurs exactly once. We prove that, for both open and closed neighbourhoods, distinguishing an optimum of two from an optimum of three is NP-hard even on connected cocomparability graphs of diameter three. Both reductions encode Exact Cover by 3-Sets in the adjacencies between two cliques. For closed neighbourhoods, we replace vertices by a fixed graph so that the color counts in adjacent parts enforce the same exact-cover condition.
Every AT-free graph without isolated vertices admits a single coloring with at most three colors that satisfies both neighbourhood conventions. We construct it in linear time. For one color, the open-neighbourhood problem reduces to maximum-weight independent set on a cocomparability graph and takes $O(n+\min\{m^2,n^3\})$ time. The closed-neighbourhood case follows from efficient domination. On permutation graphs, a direct dynamic program constructs an optimum coloring for either convention in $O(n^9)$ time. We also give a diameter-two AT-free graph requiring three colors for closed neighbourhoods and identify a permutation graph whose open and closed optima are three and two, respectively.

[5] arXiv:2612.04446 [pdf, html, other]
Title: Ultrametric Network Phylogenetic Diversity and the Greedy Algorithm
Jannik Schestag, Mathias Weller
Comments: Appears in the Proceedings of the 52nd International Conference on Current Trends in Theory and Practice of Computer Science (SOFSEM 2027)
Subjects: Data Structures and Algorithms (cs.DS); Discrete Mathematics (cs.DM); Populations and Evolution (q-bio.PE)

Phylogenetic diversity (PD) measures the amount of evolutionary history represented by a set of species. On phylogenetic trees, a set of $k$ species maximizing PD can be found greedily. Although networks allow modeling reticulate events, this greedy property gets lost, once we generalize PD from trees to networks. We show that it is recovered on ultrametric level-1 networks. Ultrametric networks are common under the molecular-clock hypothesis, while level-1 networks form a fundamental class of networks with low complexity of local structures. We further show that our greedy algorithm can probably not be extended to ultrametric tree-child networks, by proving strong NP-hardness for this case.

[6] arXiv:2612.04456 [pdf, html, other]
Title: Expected-Case Behavior of Greedy Best First Search
Masataro Asai
Subjects: Data Structures and Algorithms (cs.DS)

We theoretically analyze the expected search effort of Greedy Best First Search (GBFS) measured by the number of state expansions, under two (plus one) heuristic noise models (Gaussian vs. Lomax $\in$ Regularly Varying $\subseteq$ Heavy Tail) and two state space models (tree vs. digraph). Our analysis found that the runtime scale is governed by a quantity named the \emph{underestimation quantile} $q(t)=\Pr[h(u)<h(v)\mid h^*(u)=h^*(v)+t]$ for two nodes $u, v$ and a gap $t$, which is unique to the tail distribution of each noise distribution. Our result is summarized as follows: For a tree-shaped search space with branching factor $b$ and solution depth $d$, where heuristic $h(s)$ follows a Gaussian distribution with mean $h^*(s)$ and variance $\textrm{Var}[h]$, we derive a closed-form lower bound of expected runtime $d\cdot\exp(\Omega(\sqrt{\textrm{Var}[h]}\,(\ln b)^{\frac{3}{2}}))$. In contrast, with the same mean and variance, a Lomax distribution instead gives $d\cdot\exp(\Omega(\sqrt{\textrm{Var}[h]}\, b^{1/\alpha}))$, quantifying how the tail distribution governs the runtime. We further show two more general results: First, we expand the Lomax result to the general regularly varying distributions with tail index $\alpha$, which is the smallest subclass of heavy-tailed distributions. Second, we extend the analyses above to directed graphs, deriving a similar bound under the effective branching factor $b_{\textrm{eff}}$.

[7] arXiv:2612.04536 [pdf, html, other]
Title: From Fractional 3-Edge-Connectivity to 2-Edge-Connectivity
Cheng-Hao Fu, Nathan Klein, Zhuan Khye Koh
Subjects: Data Structures and Algorithms (cs.DS); Combinatorics (math.CO)

We give an algorithm that produces a 2-edge-connected graph of cost no greater than the cheapest fractionally 3-edge-connected graph. As a byproduct of our result, we show that every fractionally 3-edge-connected graph is a convex combination of 2-edge-connected graphs. This proves the first non-trivial case of the conjecture that every fractionally $k$-edge-connected graph is a convex combination of integral $(k-1)$-edge-connected graphs.

[8] arXiv:2612.04656 [pdf, html, other]
Title: Subexponential parameterized algorithms for graph modification problems
Dekel Tsur
Subjects: Data Structures and Algorithms (cs.DS)

OpenAI and Anthropic recently refuted the Exponential Time Hypothesis with independently developed subexponential-time algorithms for {3-SAT. Using these results, we show that for every fixed finite family $\mathcal{H}$ of forbidden induced subgraphs, $\mathcal{H}$-free Vertex Deletion admits a $2^{o(k)} n^{O(1)}$-time algorithm whenever it has a kernel with $O(k)$ vertices, where $k$ is the deletion budget and $n$ is the number of vertices. This criterion applies to Cluster Vertex Deletion and, for each fixed $\ell$, to $\ell$-Bounded-Degree Vertex Deletion and $\ell$-Component Order Connectivity. Using a Boolean tensor contraction bound, we also obtain $2^{o(k)} n^{O(1)}$-time algorithms for Co-Path Packing and Co-Path Set.

[9] arXiv:2612.04735 [pdf, html, other]
Title: Majorization Minimax Optimality: A New Analysis Paradigm for Online Resource Allocation
Siddhartha Banerjee, Ramiro N. Deo-Campo Vuong, Robert Kleinberg
Subjects: Data Structures and Algorithms (cs.DS); Computer Science and Game Theory (cs.GT)

Online equitable allocation of divisible resources to agents is a fundamental problem. We consider when feasible allocations are bases of a polymatroid, which models operational constraints found in allocation with restricted assignments, humanitarian aid distribution, and more. Historically, online algorithms in these settings have been evaluated via their competitive ratio. Objective-specific primal-dual analysis is often used to prove competitive ratio guarantees, and these guarantees are asymptotically optimal as the number of agents grows infinitely large.
We take a different approach by modeling equitable online allocation as a preordered game in which allocation outcomes are compared directly using tools from majorization theory. Further, we define a worst-case optimality condition called majorization minimax optimality (MMO), which requires an algorithm to always produce an allocation outcome at least as equitable as an allocation outcome that could be forced on a deterministic alternative algorithm. As a corollary, MMO algorithms enjoy minimax optimal guarantees for natural benchmarks in online settings such as competitive ratios and $\alpha$-regret for a wide range of equity-promoting objectives. Further, these minimax optimality guarantees extend to randomized alternative algorithms under a mild concavity condition. Finally, we show that a natural generalization of the well-known Water-Filling algorithm is universally minimax optimal. This algorithm greedily equalizes agent loads.

[10] arXiv:2612.05090 [pdf, html, other]
Title: Liar's Vertex-Edge Domination on Distance-Hereditary and Chordal Bipartite Graphs
Debojyoti Bhattacharya, Kamal Santra
Subjects: Data Structures and Algorithms (cs.DS); Discrete Mathematics (cs.DM)

A set $S\subseteq V(G)$ is a liar's vertex-edge dominating set of a graph $G$ if every edge has at least two selected vertices in its closed neighbourhood and the union of the closed neighbourhoods of every two distinct edges contains at least three selected vertices. The problem asks for such a set of minimum cardinality. We study its complexity on distance-hereditary and chordal bipartite graphs. For distance-hereditary graphs, we give an explicit dynamic programming algorithm that finds a minimum set in $O(n+m)$ time, where $n$ and $m$ are the numbers of vertices and edges. The algorithm uses a binary decomposition tree and eleven coordinates that record witness counts capped at three. We prove that these profiles are exactly combined under the three decomposition operations, give all transition formulas, and describe how to recover an optimal set. The linear bound has a fixed but large constant. For chordal bipartite graphs, we prove NP-completeness by a reduction from \textsc{Dominating Set}. The construction attaches a fixed tree to each vertex and satisfies the exact identity $\gamma_{\mathrm{LVE}}(G')=3n+\gamma(G)$. These results extend the known algorithmic and hardness results for liar's vertex-edge domination.

[11] arXiv:2612.05194 [pdf, html, other]
Title: Optimal Guarantees for Online Bipartite Matching under Arrival-Time Incentive Compatibility
Arghya Chakraborty, Varun Gupta
Subjects: Data Structures and Algorithms (cs.DS)

We study the random-order edge-weighted online bipartite matching problem. A bipartite graph $G=(L,R,E)$ and its nonnegative edge weights are fixed. The platform knows the set $L$ of servers and the number of users in $R$. Users arrive in a uniformly random order and reveal their edge weights on arrival. The platform must immediately match each user to a free server or leave them unmatched, with the aim of maximizing the weight of the final matching.
As in the classical secretary problem, the optimal $1/e$-competitive algorithm rejects an initial sample of users and uses the observed rewards to decide which later matches to make. A user who knows they will arrive during this sampling phase therefore has an incentive to delay their arrival. To remove this incentive, Buchbinder, Jain, and Singh introduced arrival-time incentive compatibility (IC) for the secretary problem, requiring every arrival position to have the same ex ante probability of selection. Using a linear program, they showed that the optimal probability of hiring the best candidate approaches $1-1/\sqrt{2}$ when hiring is optional and $1/4$ when hiring is required. For bipartite matching, Chakraborty and Gupta obtained competitive ratios of $0.162$ when $|L|=|R|$ and $0.0231$ in general, leaving open whether the secretary guarantees extend to this setting.
We answer this question affirmatively for complete bipartite graphs with $|L|\le |R|$. We propose an arrival-time IC algorithm based on a transportation LP that earns at least $1-1/\sqrt{2}$ of the offline optimum in expectation, or at least $1/4$ if it must use every server. In fact, our algorithm satisfies a stronger condition that we call position-server fairness. Each arrival position offers the same probability of a match with any given server. Among algorithms satisfying this requirement, ours attains the optimal worst-case ratio for every fixed market size.

[12] arXiv:2612.05371 [pdf, html, other]
Title: Bounded-Width CSPs Are Testable with Sublinear Queries in the Bounded-Degree Model
Yuichi Yoshida
Subjects: Data Structures and Algorithms (cs.DS)

We show that every bounded-width constraint satisfaction problem (CSP) admits a sublinear-query tester for satisfiability in the bounded-degree model, answering a question of Fei (RANDOM 2026). For each finite bounded-width template, our tester has one-sided error and uses $\widetilde O(n^{1-c})$ queries on $n$ variables, where $c>0$ depends only on the template, the degree bound, and the distance parameter. Together with Fei's linear lower bound, our result shows that for a finite template with one sort, satisfiability can be tested with a sublinear number of queries in the bounded-degree model if and only if the template has bounded width.

[13] arXiv:2612.05526 [pdf, html, other]
Title: Tight Bounds for Online TSP on the Half-Line
Tianhang Lu, Runtian Ren, Shengcai Liu
Subjects: Data Structures and Algorithms (cs.DS)

A server starts at the origin of the nonnegative half-line. Requests specify locations and release times. The server moves at speed at most one and may finish anywhere. We prove that the optimal deterministic competitive ratio for minimizing the last service time is the unique positive root $c$ of $4c^4+3c^2-16c-12=0$, with $c\approx 1.6588$. An adversary needs at most four requests. It releases a left request when the server crosses a prescribed line in time and space, then uses the first visit to the right endpoint to choose a continuation. The matching algorithm uses preemptible trips to the outstanding extremes. A wait indexed by the position of a pending left request controls when the server can depart to the right. At the critical ratio the least wait needed to handle a later request and the largest wait affordable on an earlier prefix coincide. The upper bound holds for every finite real input, including simultaneous releases and repeated requests at the same location. Exact algebraic certificates accompany the proof.

[14] arXiv:2612.05587 [pdf, html, other]
Title: Refuting the Set Cover Conjecture via Decision Sparsification
Lin Chen, Yuchen Mao, Guochuan Zhang
Subjects: Data Structures and Algorithms (cs.DS)

In \textup{\textsc{Set Cover}} we are given a universe of $n$ elements, a family of $m$ sets, and a budget $t$, and we must decide whether at most $t$ sets cover the universe. We study instances in which every set has at most $k$ elements.
Our main tool is a \emph{decision sparsifier}. Fix one minimum cover $\mathcal{C}^\star$ by a consistent tie-breaking rule. We show that every subfamily of $\mathcal{C}^\star$ is the unique optimal cover of its own union, so small pieces of $\mathcal{C}^\star$ can be recovered by solving Set Cover on small universes. Assembling these pieces, for every fixed $k$ and $\varepsilon>0$ we deterministically construct, in time $2^{\varepsilon n}\mathrm{poly}(|I|)$, at most $2^{\varepsilon n}$ subinstances with $O_{k,\varepsilon}(n)$ sets each, one of which contains $\mathcal{C}^\star$ whenever the input is a \textup{\textsc{yes}} instance.
Combined with the subexponential algorithm for sparse 3-SAT~\cite{oai,anth}, this gives a deterministic $2^{o(n)}\mathrm{poly}(|I|)$-time algorithm for every fixed $k$, refuting the Set Cover Conjecture of Cygan et al. Rational interpolation of an \emph{ownership polynomial} of incidence degree $O(n)$ sharpens the fixed-width running time to $2^{O_k(n(\log\log n)^2/\sqrt{\log n})}\mathrm{poly}(|I|)$ and extends deterministic subexponential time to every width $k=o(\log n)$. A characteristic-two variant gives a randomized algorithm with one-sided error and running time $2^{(0.999993+o(1))n}\mathrm{poly}(|I|)$ for $k\le 0.0169\log n$. The logarithmic-width conjecture involves larger width coefficients and remains open. The three width guarantees also hold for budgeted Set Partitioning.

[15] arXiv:2612.05927 [pdf, html, other]
Title: Subexponential-Time Algorithms for $k$-Set Cover and Hamiltonicity via Containers
Tomohiro Koana, Soh Kumabe, Jesper Nederlof
Subjects: Data Structures and Algorithms (cs.DS)

We give subexponential-time algorithms for $k$-Set Cover and Hamiltonicity. Given a family of sets of size at most $k$ on an $n$-element universe, we compute the minimum size of a set cover in $2^{O\left(kn(\log\log n)/\sqrt{\log n}\right)}$ time. This refutes the Set Cover Conjecture of Cygan et al. [ACM Trans. Algorithms 12(3), 2016]. More generally, the algorithm runs in subexponential time whenever $k=o(\sqrt{\log n})$. For directed graphs on $n$ vertices, we determine whether it has a Hamiltonian cycle in $2^{O\left(n(\log\log n)^2/\sqrt{\log n}\right)}$ time.
Both algorithms rely on a new sparsification lemma that builds on the container method from extremal combinatorics to reduce the input to sparse instances. Given this sparsification and relatively standard reductions, the results follow from the recent algorithms refuting the Exponential Time Hypothesis by Anthropic and OpenAI.

[16] arXiv:2612.05929 [pdf, html, other]
Title: Enumerating the First $k$ Primes in Deterministic $O(k)$ Time
Xiangle Chen
Subjects: Data Structures and Algorithms (cs.DS)

We give a deterministic word-RAM algorithm that lists the primes up to $n$ in increasing order in $O(n/\log n)$ worst-case time. Consequently, the first $k$ primes can be generated in $O(k)$ total time, with worst-case $O(1)$ delay between outputs for a requested $k$ using algorithm-owned buffers. The algorithm starts from Harvey's parity formula for prime enumeration and computes a packed linear syndrome for each small block rather than the full output of the convolutions. Exact prime counts at large-block boundaries certify the sparse decodings and detect the few large blocks in which sparse recovery fails, allowing those blocks to be recomputed directly without locating individual errors.

[17] arXiv:2612.06121 [pdf, html, other]
Title: Polynomial-Time Generalized Sorting via Compressed Error Isolation
Brendan Mumey
Subjects: Data Structures and Algorithms (cs.DS)

In generalized sorting, comparisons are restricted to the edges of a known undirected graph on $n$ vertices, and the unknown total order is promised to form a Hamiltonian path in that graph. Khanna, Putterman, and Song recently obtained an expected $O(n\log^4 n)$ comparison bound, leaving polynomial running time as an open question. We give a randomized polynomial-time algorithm attaining the same comparison bound. Our main ingredient is a polynomial-time error-isolation procedure: we query sampled stars, order their centers using certified two-edge paths, and compress the ordered list of centers by a greedy neighborhood-coverage rule. The compressed list determines a small family of possible postponement sets and covers every prediction error in the sampled stars. A union bound over this family replaces the exponential permutation search. Combining repeated error isolation with the prediction-repair theorem of Lu, Ren, Sun, and Zhang yields the result.

[18] arXiv:2612.06127 [pdf, html, other]
Title: Giving Sublinear Matching Algorithms a Reality Check
Dominick Banasik, Alexander Bhalla, Varsha Dani, Thomas P. Hayes, Yixiao Huang, Jimmy Li, Seth Pettie, Yongrui Yu
Comments: 16 pages, 5 figures
Subjects: Data Structures and Algorithms (cs.DS)

Motivated by recent progress in algorithms for finding large cardinality matchings, particularly the sublinear-time randomized matching algorithm of Goel, Kapralov, and Khanna (arXiv:0909.3346) for bipartite regular graphs and its extension by Dani and Hayes (SODA 2025) to general regular graphs, we implemented several well-known matching algorithms on a single hardware platform and measured their performance on several different classes of graphs. Our goals were to help understand the practical differences between the algorithms in question and to explore the possibility that some of the algorithms outperform their theoretical guarantees on particular classes of graphs. We also explore the degree to which randomized algorithms for maximum cardinality matching outperform deterministic ones and try to identify their current limitations.

[19] arXiv:2612.06163 [pdf, html, other]
Title: Deterministic Combinatorial $k$-Dyck Edit Distance in $O(n)+\widetilde{O}(k^3)$ Time
Filippo di Gravina
Comments: 7 pages
Subjects: Data Structures and Algorithms (cs.DS)

We give a deterministic combinatorial algorithm for $k$-Dyck edit distance in $O(n+k^3\log^2(2+k))$ time and $O(n+k^3)$ space, returning the exact distance if at most $k$ and $k+1$ otherwise. We improve the parameter exponent from $4.5$ to $3$, ignoring subpolynomial factors, and from $5$ to $3$ among combinatorial algorithms. We retain the cluster--trapezoid decomposition of Fried et al. but replace its dense cluster dynamic program with height-normalized profiles that are monotone on each parity class. Threshold frontiers are constructed by height-restricted searches and dynamic weighted interval minima. Under the combinatorial clique conjecture, the cubic parameter exponent is optimal among combinatorial algorithms.

[20] arXiv:2612.06240 [pdf, html, other]
Title: Algorithms and Lower Bounds for Online Demand Strip Packing
Paul Hesse, Klaus Jansen, Rob van Stee, Corinna Wambsganz
Comments: 36 pages, 1 figure
Subjects: Data Structures and Algorithms (cs.DS)

In online demand strip packing, each arriving job has a duration and a positive demand and must immediately receive an irrevocable interval within a common time horizon. The objective is to minimize peak demand. We analyze alternating First Fit with geometric demand classes and obtain an absolute competitive ratio of \(11/3\), which is tight for this algorithm. A random shift and reflection, with wider demand classes, give expected ratio below \(3.182275\) against an oblivious adversary. Writing \(h_{\max}\) for the largest individual demand, we give a single deterministic online algorithm for arbitrary positive demands with peak at most \(\frac32\OPT+O(\sqrt{h_{\max}\OPT})\). It requires neither an accuracy parameter nor advance bounds on the optimum or the demands. Thus one algorithm attains asymptotic ratio \(3/2\), strengthening the earlier parameterized \(3/2+\varepsilon\) guarantee. For demands at most one, the bounded-demand version achieves \(\frac32\OPT+\frac{16}{5}\sqrt{1+\OPT}+24\), and a randomized profile algorithm attains asymptotic ratio \(1.469308\). On the lower-bound side, an adaptive marker construction gives a deterministic asymptotic lower bound of \(4/3\) with a proof that can be checked by hand. This bound already holds for unit demands. A fixed input family gives a randomized asymptotic lower bound above \(1.315072\), also for unit demands. The randomized bounds use exact finite certificates documented in a separate computational supplement.

[21] arXiv:2612.06291 [pdf, html, other]
Title: Generalized Sorting within an $O(\log\log n)$ Factor of Optimal
Majid Daliri, Lester Mackey
Subjects: Data Structures and Algorithms (cs.DS)

In generalized sorting (Huang, Kannan, and Khanna, FOCS, 2011), one aims to order a set of $n$ vertices using a restricted set of comparisons specified by a known graph. The near-optimal algorithm of Khanna, Putterman, and Song (2026) solves this problem with $O(n \log^4 n)$ expected comparisons whenever the hidden order is identifiable. We refine their method for predicting edge directions to recover the hidden order using $O(n\log n\log\log n)$ expected comparisons. This brings the upper bound within a factor of $O(\log\log n)$ of the worst-case lower bound.

Cross submissions (showing 12 of 12 entries)

[22] arXiv:2612.04414 (cross-list from cs.DM) [pdf, html, other]
Title: Cops and Robbers with Reversible Patrol: Minimum Capture Radius on Trees
Wit Kowal
Subjects: Discrete Mathematics (cs.DM); Data Structures and Algorithms (cs.DS); Combinatorics (math.CO)

This paper studies a variant of the Cops and Robbers game in which the cop follows a fixed patrol, a walk on the graph chosen before the game starts, and may reverse its direction before each move. He captures the robber whenever the distance between them is at most $\rho$, a parameter fixed before the game starts. The robber knows the patrol and the cop's position, but not the chosen direction. The game is a modification of the game introduced by Chiarelli, Dorbec, Stojaković and Taranenko in 2026.
We focus on trees and study two parameters: $\tilde{\rho}(G)$, the minimum capture radius that guarantees the cop always catches the robber, and $\tilde{\rho}_1(G)$, the minimum capture radius with which the cop wins with probability 1. After deriving upper and lower bounds, we obtain exact formulas for both parameters. Then we compare the two parameters and identify a class of trees for which $\tilde{\rho}_1(G) = \tilde{\rho}(G)$. Finally we present a linear-time algorithm that computes those parameters.

[23] arXiv:2612.04558 (cross-list from cs.CC) [pdf, html, other]
Title: Constant-Factor Hardness of Treewidth and Related Parameters
Édouard Bonnet
Comments: 12 pages, 3 figures
Subjects: Computational Complexity (cs.CC); Discrete Mathematics (cs.DM); Data Structures and Algorithms (cs.DS); Combinatorics (math.CO)

We show that for every fixed $r>1$, it is NP-hard to distinguish cubic bipartite graphs with treedepth and cutwidth at most $k$ from those with treewidth greater than $rk$. With a single reduction, we thus rule out a polynomial-time approximation algorithm within any constant factor for treewidth, pathwidth, treedepth, cutwidth, clique-width, rank-width, mim-width, sim-width, Minimum Linear Arrangement and Minimum Bisection, under P $\neq$ NP alone. The proof leverages OpenAI's hardness result for Uniform Sparsest Cut.

[24] arXiv:2612.04664 (cross-list from cs.CC) [pdf, html, other]
Title: Huge Squares, Hot Tiles, Tiny Logs: $N\times N$ Squares from $O(\log^* N)$ Tile Types in the High-Temperature Two-Handed Assembly Model
Robert Schweller
Comments: 6 pages, 2 figures. Illustrated overview. The full write-up and Lean formalization of the square construction are available at this https URL
Subjects: Computational Complexity (cs.CC); Data Structures and Algorithms (cs.DS); Emerging Technologies (cs.ET)

We describe an $O(\log^* N)$ tile-complexity construction for exact $N\times N$ squares in the two-handed assembly model, using nonnegative glue strengths and a single temperature $\tau=16N$ that remains fixed throughout assembly. This improves the previous $O(2^{\log^* N})$ upper bound of Schweller, Winslow, and Wylie. Their construction uses two recursively generated square sizes: one supplies the planks of a high-temperature counter, and the other corrects its final height. Our modification uses copies of one recursive child square in two counting phases whose row heights differ by one. The phase lengths are encoded in numerical glue strengths, and an explicit parameter choice achieves every sufficiently large target size while respecting counter capacity. Sharing the child tile set changes the recursive cost from two smaller constructions per level to one, yielding the log-star bound. The assembly guarantee is shape-based where every producible assembly has a growth path to a terminal square of the prescribed size. As a consequence, finite connected shapes $S$ of sufficiently large Kolmogorov complexity $K_U(S)$ can be uniquely assembled at a suitable scale using $O(\log^* K_U(S))$ tile types, where $U$ is a fixed universal Turing machine. This paper provides an illustrated overview of the square construction and its consequence for scaled shapes. A companion full write-up and Lean formalization provide the detailed development of the square result.

[25] arXiv:2612.05064 (cross-list from math.OC) [pdf, html, other]
Title: When Waves Compete: Complexity and the Price of Decoupling in Multi-Wave Bottleneck Transportation
Raghav Paladugu, Archana Khurana
Comments: 26 pages, with supplementary document
Subjects: Optimization and Control (math.OC); Computational Complexity (cs.CC); Data Structures and Algorithms (cs.DS)

We study a multi-wave extension of the capacitated two-stage time-minimisation transportation problem. Waves of prescribed volume share origin supplies and link capacities, and the first wave must meet destination minima. We minimise the sum of the wave completion times, each the longest link time used. With the number of waves part of the input, the problem is strongly polynomial when the later waves are destination-free and share link times: an exact algorithm needs a number of maximum-flow computations independent of the number of waves. With common link times, destination minima or exact demands on every wave make it strongly NP-hard, with no constant-factor approximation unless P equals NP; own link times on destination-free later waves also make it strongly NP-hard. For every fixed number of waves, these variants are polynomial. With common link times and minima on totals over all waves instead, it is polynomial for two waves but strongly NP-hard for unboundedly many. With destination-free later waves sharing link times and a first wave nowhere faster, planning wave by wave is feasible whenever the instance is, and costs at most the number of non-empty waves times the optimum, a tight bound on this price of decoupling; one faster or exclusive first-wave link can make it arbitrarily worse or infeasible, respectively. Our implementation solved synthetic five-wave instances with one million links in under 40 seconds. On synthetic common-time instances with up to ten thousand links, sequential planning averaged 24 and 10 percent above the optimum under two tie-breaking rules.

[26] arXiv:2612.05172 (cross-list from math.CO) [pdf, other]
Title: Asymptotically Sharp Bounds for Zero-Cyclic Equalization of Binary Words
Haruyuki Kawabe
Subjects: Combinatorics (math.CO); Data Structures and Algorithms (cs.DS)

We study simultaneous insertion of zeros into two binary words of equal length and Hamming weight, to make the resulting words equal up to cyclic rotation. Using cyclic $0$-gap vectors, we formulate the problem as an integral transport problem on a directed multigraph. For binary words $u, v \in \{0, 1\}^n$ of common Hamming weight $w \ge 1$, we show that the minimum number $K_0(u, v)$ of zeros that must be inserted into each word satisfies $K_0(u, v) \le (w-1)(n-w)$. The case $w = 0$ is trivial. For $w \ge 1$, we give an $O(nw)$-time algorithm that recovers an insertion vector satisfying this bound, together with an explicit family whose lower bound matches the quadratic leading term of the upper bound. Consequently, the worst-case minimum insertion number is $n^2/4+O(n)$, so the leading constant $1/4$ is optimal.

[27] arXiv:2612.05266 (cross-list from cs.GT) [pdf, html, other]
Title: Online Fair Division with Maximin Share Information
Tianqi Chen, Huminhao Zhu
Subjects: Computer Science and Game Theory (cs.GT); Artificial Intelligence (cs.AI); Data Structures and Algorithms (cs.DS)

We study online fair division of indivisible goods among $n\ge2$ agents with additive valuations, when information about their maximin shares (MMS) is supplied in advance. Goods arrive sequentially and must be allocated immediately and irrevocably. We examine how the guarantees achievable by deterministic algorithms depend on the number of agents to be protected and on what MMS information is available. With exact MMS information, the optimal approximation ratio for all agents is $(1+o(1))/\log n$ as $n\to\infty$. The largest number of agents who can be guaranteed their full MMS is exactly $\lceil n/2\rceil$. More generally, the optimal approximation ratio for $p$ agents is $\Theta\!\left(1/(1+\log(n/(n-p+1)))\right)$.
For inexact MMS information, we compare valid upper estimates, valid lower estimates, and supplied intervals of multiplicative width $Q$. When $Q$ is unknown, upper estimates alone cannot ensure a positive approximation at every finite width. Lower estimates alone yield a $(1+o(1))/(Q\log n)$ approximation without knowledge of $Q$, and this inverse-linear dependence on $Q$ is optimal for each fixed $n$. Supplying both interval endpoints improves the optimal dependence on $Q$ to $\Theta_n(Q^{-1/2})$. We also examine information available for only some agents. For goods, even one agent without MMS information rules out a positive approximation guarantee for all agents. For chores, with $1\le k<n$ known shares, the optimal approximation factor is $n/k$ whenever $2k\le n+1$.

[28] arXiv:2612.05310 (cross-list from math.CO) [pdf, html, other]
Title: The Takagi Function and the Maximum Span of Interval Edge-Colorings
Yu-Chia Lin
Subjects: Combinatorics (math.CO); Discrete Mathematics (cs.DM); Data Structures and Algorithms (cs.DS); Classical Analysis and ODEs (math.CA)

Let $T$ denote the Takagi function and set $D(n) = \lceil nT(1/n)\rceil$. We prove that every interval-colorable simple graph $G$ on $n \geq 2$ vertices with at least one edge has maximum span $W(G) \leq W^*(n) := 2n-2-D(n)$, improving the classical bound $2n-4$ by an unbounded logarithmic term. At every even order $n$, equality is attained by $K_n$, resolving the complete-graph problem posed in 1990; at $n=2^q$, the maximum span is $2n-2-q$ and $K_n$ is the unique extremizer, with forced color multiplicities along the event path. At odd orders, the $n$-vertex maximum $M(n)$ satisfies $W^*(n)-1 \leq M(n) \leq W^*(n)$, and both values occur: $M(n)=W^*(n)$ for $n=2^j+1$ and $n=3\cdot 2^j+1$ ($j \geq 1$), while $M(11)=15=W^*(11)-1$. Our constructive proof packs regular prefix subdigraphs into a strict half-digraph via a two-pass vertex scan, yielding deterministic output-optimal $O(n^2)$-time constructions both for $K_n$ at even orders and for constant-zero-diagonal Latin squares attaining the maximum number $n-1-D(n)$ of nonzero symbols preserving a nonempty proper initial segment at every order $n \geq 1$. Finally, a periodic Takagi refinement determines the exact $K_{r+1}$-free maximum $(2-2/r)n-D(r)$ whenever $r \geq 2$, $n$ is even, and $r \mid 2n$, as well as the exact span $2(r-1)a-D(r)$ of every interval-colorable balanced complete $r$-partite graph $K_{a,\ldots,a}$.

[29] arXiv:2612.05323 (cross-list from math.PR) [pdf, html, other]
Title: Planted Matchings in Random Hypergraphs
Leo Villani, Dana Yang
Subjects: Probability (math.PR); Data Structures and Algorithms (cs.DS); Statistics Theory (math.ST)

This paper studies the $k$-multiway matching problem, where a perfect matching is uniformly planted in a $k$-partite, $k$-uniform Erdös-Rényi hypergraph, with $n$ vertices per part, and with edge probability $d/n^{k-1}$ ($k\ge 3$). We consider both unweighted graphs and weighted models with different planted and noise edge-weight distributions. We prove that both exact and almost exact recovery can be attained when $d$ is of constant order. We obtain possibility and impossibility conditions of recovery, which in the unweighted model, are nearly matching at the constant level. In the unweighted model, we show that the optimal normalized overlap gradually vanishes as $d\to\infty$. Our analysis reveals a distinctive geometry where the planted matching is separated from every other feasible matching by $\Theta(n)$ edges with high probability, making exact and almost-exact recovery information-theoretically equivalent. We also study two polynomial-time algorithms that achieve recovery for sufficiently small constant $d$. This guarantee matches the information-theoretic threshold scaling in $n$ but falls short at the level of constants, and we discuss a conjectured statistical-computational gap. Furthermore, for the related detection problem, we prove that strong detection is possible for $d=o(\sqrt{n})$ and impossible for $d=\Omega(\sqrt{n})$.

[30] arXiv:2612.05325 (cross-list from math.OC) [pdf, html, other]
Title: Exact polynomial-time algorithms for weighted partial K-means with individual exclusion costs
Jiayi Yu, Baisuo Jin
Subjects: Optimization and Control (math.OC); Data Structures and Algorithms (cs.DS)

Dupin and Nielsen (2023) established polynomial-time solvability for one-dimensional unweighted partial k-means, but left the computational complexity of the weighted case as an open problem. We resolve this question by developing exact polynomial-time algorithms for a more general weighted clustering problem, in which each observation is either assigned to one of at most K centers or excluded at an individual cost, subject to prescribed lower and upper bounds on the number of retained observations. This framework also captures weighted least-squares projection onto vectors with bounded support and a bounded number of distinct nonzero entries, a formulation motivated by categorical regression with unequal category frequencies. Although the ordering property established by Dupin and Nielsen enables an interval dynamic program, the computation of optimal single-center interval costs remains combinatorially nontrivial under unequal weights. We overcome this difficulty by expressing retention gains as quadratic functions of the center and developing a direct scan based on their pairwise intersections. We further accelerate this algorithm through adjacent exchanges and a shared global intersection list, reducing the cost of computing all interval costs to $O(p^4)$ operations, where p is the number of observations. Combined with the interval dynamic program, the resulting algorithm solves the overall problem in $O(p^4+Kp^2U^2)$ operations, where U is the upper bound on the number of retained observations. For rational input data, we further establish polynomial bit-time solvability.

[31] arXiv:2612.05392 (cross-list from cs.CG) [pdf, html, other]
Title: Optimal Balanced Separators for Mixed Ball and Sphere Graphs
Jack Spalding-Jamieson, Frederick Stock
Comments: 12 pages, 5 figures
Subjects: Computational Geometry (cs.CG); Discrete Mathematics (cs.DM); Data Structures and Algorithms (cs.DS); Combinatorics (math.CO)

For any dimension $d$, we show that the intersection graph of a set of balls and spheres in $\mathbb{R}^d$ admits a $2/3$-balanced vertex separator of size $O(\sqrt{d}m^{1/d}n^{1-2/d})$, and that such a separator can be found in expected linear time when the adjacency lists are given together with the geometric representation. The size of these separators is optimal up to a constant factor, even for non-constant $d$. This improves the dependence on $d$ in a very recent result of Fox and Tidor from exponential to $\sqrt d$, and gives a single algorithm for balls, spheres, and mixtures of both.

[32] arXiv:2612.05934 (cross-list from math.AT) [pdf, html, other]
Title: An Optimal Algorithm for Computing Minimal Homology Presentation and Resolution in $2$-parameter
Tamal K. Dey, Maksim Lavrenko, Saayan Mukherjee
Subjects: Algebraic Topology (math.AT); Computational Geometry (cs.CG); Data Structures and Algorithms (cs.DS); Representation Theory (math.RT)

Algorithms for computing minimal homology presentations from input chain complexes in $2$-parameter are known to run in cubic time $O(n^3)$, where $n$ is the largest rank of the input free chain modules in three consecutive degrees defining the homology. We show that these presentations and their extension to resolutions can be computed in time $\Theta(n^\omega)$, assuming multiplication of two $n\times n$ matrices over a field $\field$ has optimal time complexity $\Theta(n^\omega)$ for $2 < \omega < 2.373$. For this we present an $O(n^\omega)$ algorithm for computing a minimal presentation (and resolution). Then, we establish that matrix multiplication can be done in the time needed to compute a minimal presentation for a free chain complex whose modules have rank at most $2n+1$, plus $O(n^2)$. Our algorithm builds on two recent algorithms, one for the two-order matrix reduction using both lexicographic and colexicographic sorting of its columns by Bauer, Lenzen, and Lesnick, and the other for computing a kernel basis in $1$-parameter in matrix multiplication time by Morozov and Skraba. Our implementation uses sparse left-to-right column reductions over $\mathbb{F}_2$. It generally outperforms a state-of-the-art software package \textsc{mpfree} for both presentations and resolutions in homology degrees $2$ and $3$, runs slower than \textsc{mpfree} in degree $1$, and outperforms another software package \textsc{2pac} on most of the reported resolution benchmarks.

[33] arXiv:2612.06102 (cross-list from cs.CG) [pdf, html, other]
Title: Guillotine Cuts for Rectangle Packings and Independent Sets
Rishikesh Gajjala, Rajiv Raman, Saurabh Ray
Comments: 27 pages, 18 figures
Subjects: Computational Geometry (cs.CG); Discrete Mathematics (cs.DM); Data Structures and Algorithms (cs.DS); Combinatorics (math.CO)

Given a packing of $n$ axis-parallel rectangles, how many can we always separate by horizontal and vertical guillotine cuts? We show that the worst-case size of a largest guillotine-separable subfamily is $\Theta(n/\log^* n)$. For every fixed $\varepsilon>0$, we also give a simple polynomial-time $(2+\varepsilon)$-approximation for maximum independent set of rectangles matching the current state of the art.

Replacement submissions (showing 13 of 13 entries)

[34] arXiv:2507.11080 (replaced) [pdf, html, other]
Title: FPT Parameterisations of Fractional and Generalised Hypertree Width
Matthias Lanzinger, Igor Razgon, Daniel Unterberger
Subjects: Data Structures and Algorithms (cs.DS); Computational Complexity (cs.CC)

We present the first fixed-parameter tractable (FPT) algorithms for exact computation of generalized hypertree width (ghw) and fractional hypertree width (fhw). Our algorithms are parameterized by the target width, the rank, and the maximum degree of the input hypergraph. More generally, we show that testing f-width is in FPT for a broad class of width functions that we call manageable. This class contains the edge cover number $\rho$ and its fractional relaxation $\rho^*$, and thus covers both generalized and fractional hypertree width. We additionally extend our framework to also obtain an fpt algorithm for computing a discretized version of adaptive width. Our approach extends a recent algorithm for treewidth (Bojańcyk & Pilipczuk, LMCS 2022) that utilises monadic second-order transductions. To extend this idea beyond treewidth we develop new combinatorial machinery around elimination forests in hypergraphs, culminating in a structural normal form for optimal witnesses that makes transduction-based optimisation applicable in the much more general context of manageable width functions. This yields the first exact FPT algorithms for these measures under any nontrivial parameterisation and provides structural tools that may enable more direct optimisation algorithms

[35] arXiv:2512.20180 (replaced) [pdf, html, other]
Title: Approximation and parameterized algorithms for covering disjointness-compliable set families
Zeev Nutov, Anael Vaknin
Comments: Corrected parameterized claims, preserved the multiroot applications, and added GP2P approximation results and a tight node-cost bound
Subjects: Data Structures and Algorithms (cs.DS)

Balancing charges in Generalized Point-to-Point Connection (GP2P) and meeting group quotas at several roots are instances of the same problem: covering a disjointness-compliable set family. An $\alpha$-approximation for the restricted one-terminal problem in each residual instance gives a greedy $\max\{2,\alpha\}H_\tau$-approximation for $\tau$ terminals. For edge costs, Zhao and Xiao subsequently reduced the logarithmic loss to a constant multiplier. For node costs we prove the harmonic bound with a deterministic oracle. Logarithmic loss is then unavoidable even when the one-terminal problem is a shortest path.
In $O^*(3^\tau)$ time we solve proper families exactly and obtain ratio $\alpha+1$ when overlapping feasible components with disjoint terminal sets have feasible union. This condition holds for the multiroot applications. For Multiroot Quota Tree we obtain the one-root ratio in the same time. For GP2P, rooted Quota Tree is already the case of one negative node. Conversely, on general graphs we can approach any fixed deterministic one-root approximation ratio arbitrarily closely in fixed-parameter time in the number of components containing a negative node in an optimum. This gives a $(2+\epsilon)$-approximation for every fixed $\epsilon>0$.

[36] arXiv:2607.28574 (replaced) [pdf, html, other]
Title: Finite Pinwheel Covering
Sotiris Kanellopoulos
Subjects: Data Structures and Algorithms (cs.DS)

In perpetual scheduling theory, the Pinwheel Covering problem asks, given $n$ frequencies $f_i$, whether there exists an infinite schedule such that every $f_i$ consecutive entries contain at most one occurrence of $i\in [n]$. This models $n$ agents taking turns at executing a job, with a recovery period before working again. Pinwheel Covering is, in a sense, the dual of Pinwheel Packing (also known as Pinwheel Scheduling), which similarly asks for at least one occurrence of $i$ in every $f_i$ consecutive entries. The complexity of both problems is a major open question: both are known to be in PSPACE, but PSPACE-hardness remains unknown.
Recently, a finite version of Pinwheel Packing requiring only $k$ occurrences of $i\in [n]$ was introduced by [Kanellopoulos et al., SODA 2026] and proven to be strongly NP-complete. In this work we introduce $k$-Visits Covering, the analogous finite version of Pinwheel Covering, establishing strong NP-completeness even for $k=2$. As a corollary, we obtain that a generalization of Pinwheel Covering with varying frequencies is strongly NP-hard. To the best of our knowledge, this is the first strong NP-hardness result in the covering setting. We complement these results with a linear-time algorithm for $2$-Visits Covering with two distinct frequencies and a randomized polynomial-time algorithm when the number of distinct frequencies is constant. Lastly, we study the density thresholds of $k$-Visits Covering and prove that no non-trivial density bounds exist, contrasting the finite packing version.

[37] arXiv:2610.20375 (replaced) [pdf, html, other]
Title: Hypothesis Selection via Weighted Medians
Liang-Yu Zou
Comments: merged into arxiv.org/abs/2612.03066; please refer to that paper
Subjects: Data Structures and Algorithms (cs.DS); Machine Learning (cs.LG)

Given $n$ distributions (hypotheses) $\mathcal H=\{H_1,\ldots,H_n\}$ and samples from an unknown target distribution $P$, proper hypothesis selection seeks a distribution whose total variation distance to $P$ is close to the best achievable within the known distributions. We give an algorithm that, using $O(\varepsilon^{-2}\log(n/\delta))$ target samples, running in $O(n\varepsilon^{-2}\log(n/\delta))$ time, with probability at least $1-\delta$, returns $H_{\hat i}$ satisfying $d_\mathrm{TV}(P,H_{\hat i})\leq 3\min_{i\in[n]}d_\mathrm{TV}(P,H_i)+\varepsilon.$ The algorithm achieves the optimal approximation factor and sample complexity. The running time improves the dependence on the failure probability from polynomial to logarithmic in the state-of-the-art bound $\tilde{O}(n\varepsilon^{-2}\delta^{-1})$ of Aamand, Aliakbarpour, Chen, and Silwal (COLT 2026), thereby answering their Question~2.

[38] arXiv:2611.13585 (replaced) [pdf, html, other]
Title: Approximating graphic TSP by b-matchings
Swati Gupta, Mehrdad Sohrabi, Levent Tunçel
Comments: 70 pages, 30 figures. Updated related work and references, with some minor wording and layout changes. Results are unchanged
Subjects: Data Structures and Algorithms (cs.DS); Discrete Mathematics (cs.DM); Combinatorics (math.CO); Optimization and Control (math.OC)

We give a polynomial-time algorithm for graphic TSP that returns a tour of length at most $\frac{89}{64}=\frac{7}{5}-\frac{3}{320}$ times the value of the subtour relaxation. This improves the long-standing ratio $\frac75$ of Sebő and Vygen and shows that the integrality gap of the subtour LP on graphic instances is at most $\frac{89}{64}\approx 1.3906$. We optimize a non-linear objective function over an odd-join polytope, which uses (i) a new removable system of edges, and (ii) reconnection of subtours if the graph is disconnected. This approach gives a $\frac{13}{10}$-approximation algorithm for $4$-regular $4$-vertex-connected graphs, improving the $\frac43$ of Newman, and a $\frac43$-approximation for $k$-vertex-connected graphs of maximum degree at most $k+1$, for every $k\ge 3$. For the general graphic TSP, we construct a feasible point in the odd-join polytope, using an optimal vertex from the Subtour linear programming relaxation of TSP, which helps us bound the approximation factor by 89/64.

[39] arXiv:2611.17248 (replaced) [pdf, html, other]
Title: Maximum-Weight Matching in Random-Order Streams: A One-Pass $(1-ε)$-Approximation
Alireza Farhadi (Profound), Mohammadtaghi Hajiaghayi (University of Maryland, College Park), Mohammad Mahdavi (University of Maryland, College Park)
Comments: 24 pages, 2 figures. This version gives a randomized one-pass $(1-ε)$-approximation for maximum-weight matching in random-order streams. Version 1 gives a deterministic algorithm based on historical deletion bounds, with approximation ratios of $0.71295$ for unweighted matching and $0.71295-ε$ for weighted matching
Subjects: Data Structures and Algorithms (cs.DS)

We study maximum-weight matching in the random-order streaming model, where the edges of an $n$-vertex graph arrive one at a time in a uniformly random order. We give a randomized one-pass approximation scheme: for every fixed $\epsilon>0$, the algorithm returns a matching of weight at least $(1-\epsilon)$ times the optimum with high probability. For word-sized weights and inverse-polynomial failure probability, it uses near-linear space in $n$ on general graphs. For arbitrary positive rational weights, the space bound accounts for their binary encoding. Neither the stream length nor the range of the weights is needed in advance.
The algorithm uses a short prefix of the stream to decide which future edges to keep, and thereby builds a sparse subgraph that contains a near-optimal matching. The main difficulty is that each round of this process needs information about edges that earlier rounds have selected but that have yet to arrive. Our key technical tool is a sampling lemma that retains a sparse graph containing a large matching on a set of vertices that is defined only by local information in this partially observed subgraph. On bipartite graphs we use the lemma to find many disjoint edges that violate the constraints of the matching dual; on general graphs a random bipartition exposes short augmenting paths and cycles along which the current matching can be improved.

[40] arXiv:2611.33067 (replaced) [pdf, html, other]
Title: Making History-Independence-Preserving LL/SC Swappable
Dante Bencivenga, Philipp Woelfel
Comments: Full version of the paper appearing in OPODIS 2026
Subjects: Data Structures and Algorithms (cs.DS); Distributed, Parallel, and Cluster Computing (cs.DC)

A randomized implementation of $m$ LL/SC objects for $n$ processes, with at most $k$ outstanding LL() operations each, uses $O(kn + m)$ CAS and FAID objects [Bencivenga, Habashi, and Woelfel, DISC 2026], achieves constant expected step complexity, and preserves quiescent history independence for algorithms such as [Hagit Attiya, Michael A. Bender, Martín Farach-Colton, Rotem Oshman, and Noa Schiller, STOC 2025]. Unlike some other LL/SC algorithms, such as [Anderson and Moir, WDAG 1995; Jayanti and Petrovic, PODC 2003; Jayanti, Jayanti, and Jayanti, DISC 2023; Hagit Attiya, Michael A. Bender, Martín Farach-Colton, Rotem Oshman, and Noa Schiller, PODC 2024], this algorithm does not support an unconditional write operation. We show how to add a (randomized) wait-free swap operation, and therefore also a write operation, without affecting the asymptotic step or space complexity of the implementation.

[41] arXiv:2611.34873 (replaced) [pdf, html, other]
Title: Robust large-scale approximate solutions of the constrained Kemeny aggregation ranking problem
Xuan Kien Phung, Sylvie Hamel
Subjects: Data Structures and Algorithms (cs.DS); Discrete Mathematics (cs.DM)

The Kemeny aggregation ranking problem consists of computing the consensus rankings of an election with respect to the well-known Kemeny-Young voting method. These consensus rankings satisfy many fundamental properties and are the geometric medians of the votes in the election under the Kendall-tau distance which counts the number of pairwise disagreements. While having various applications in computational social choice, machine learning, operations research, and biology, the problem of computing the consensus rankings is NP-hard and encounters a severe bottleneck in practice. In this paper, we consider the more general Kemeny aggregation ranking problem under immutable input pairwise constraints and propose robust and scalable approximate methods with provable guarantees. We thus provide an algorithmic solution to problem of incorporating a posteriori immutable pairwise constraints into past rankings (e.g., historical voter ballots or legacy laboratory assays) without incurring the cost of generating new data. Our base algorithms $\Gamma$-XCC, M-INCR-DEG, LP-M-INCR-DEG, and LP-$\Gamma$-XCC have polynomial time complexity and provides a source of rankings with bounded constant approximation factors. Notably, $\Gamma$-XCC has quadratic runtimes, extends the Copeland ranking method, and satisfies the constrained Condorcet consistency property, an extension of the Condorcet winner criterion for elections with immutable pairwise constraints. LP-M-INCR-DEG and LP-$\Gamma$-XCC provide feasible solutions respecting the input constraints and when combined with the quadratic time M-XCC partitioning, they also verify the constrained Condorcet consistency property. Thereby, our methods address the reliability and explainability issues. Our algorithms are applicable to weighted tournaments with input pairwise constraints and satisfy similar properties in this larger context.

[42] arXiv:2612.02338 (replaced) [pdf, html, other]
Title: Weighted Steiner Tree in Subexponential Time
MohammadTaghi Hajiaghayi, Danny Mittal
Comments: 73 pages. v2: edge costs of up to n^{1-δ} bits for any constant δ>0 in both algorithms; all results stated as reductions to clique contraction, with explicit limits; fixes a gap in the induced-subgraph applications (Feedback Vertex Set variants, maximum-weight induced cycle)
Subjects: Data Structures and Algorithms (cs.DS); Computational Complexity (cs.CC)

We give the first algorithm for Steiner Tree with edge costs whose running time is subexponential in the number $n$ of vertices on graphs of any density. For integer costs of up to $n^{1/4}/2$ bits, a deterministic algorithm finds an optimal Steiner tree in time $2^{O(n\log\log n/\sqrt{\log n})}$. For costs of up to $n^{9/10}$ bits, a deterministic algorithm runs in polynomial space and time $2^{O(n(\log\log n)^{3/2}/(\log n)^{1/8})}$. Previously, no subexponential algorithm was known for Steiner Tree with unbounded edge costs, even on sparse graphs. For other problems with edge costs, such as Hamiltonian cycle, the known subexponential algorithms apply only to sparse graphs.
The polynomial-space algorithm also gives the first subexponential algorithm for Group Steiner Tree with edge costs: with $\ell=O(n)$ groups it runs in the same time, and it remains subexponential for every $\ell=o(n\sqrt{\log n}/(\log\log n)^3)$.
Our main tool is a theorem stating that every graph has $2^{O(n\log\log n/\sqrt{\log n})}$ subgraphs with $O(n(\log n)^{3/2})$ edges each, such that the minimum spanning forest of every induced subgraph lies in one of them. The proof combines a vertex-sampling analogue of the sampling lemma of Karger, Klein and Tarjan with an enumeration of sparse induced subgraphs. On these sparse graphs, we encode a tree by parent pointers, paying for the edges only through the logarithm of the average degree.
The same reduction gives the first subexponential algorithms for edge-weighted $k$-MST, Prize-Collecting Steiner Tree, Generalized Minimum Spanning Tree, Steiner Forest with a bounded number of nets, and Min-Sum Vertex-Disjoint Paths with a fixed number of pairs. We also obtain deterministic polynomial-space subexponential algorithms for Connected Dominating Set, Connected Vertex Cover, and Feedback Vertex Set with large weights.

[43] arXiv:2612.04355 (replaced) [pdf, html, other]
Title: Coalitional Rank Manipulation under Linear Social Influence: Complexity and Approximation
Shahrzad Haddadan, Cheng Xin, Jie Gao
Subjects: Data Structures and Algorithms (cs.DS)

Societal and economic decisions are often derived from users' preferences for a set of items. In today's interconnected world, the social connections between users naturally influence the formation of these preferences. In this paper, we explore the problem of effectively promoting a specific product among a set of competing alternatives, using a group of predefined influencers who communicate item rankings across social ties. We tackle several important algorithmic questions related to this problem. First, we show that independent and sequential myopic strategies can be arbitrarily worse than coordinated optimization. Second, we demonstrate the computational hardness of several related problems, whether there is one influencer or multiple. Finally, under mild assumptions, we propose approximation algorithms for determining an approximately optimal strategy for a coalition of influencers. Our results are supported by rigorous mathematical analysis, and validated by experiments on their practical applicability.

[44] arXiv:2501.07503 (replaced) [pdf, html, other]
Title: Big Atomics
Daniel Anderson, Guy E. Blelloch, Zak Kent, Siddhartha Jayanti
Subjects: Distributed, Parallel, and Cluster Computing (cs.DC); Data Structures and Algorithms (cs.DS)

Atomic operations, such as load, store, and compare-and-swap (CAS), on single words form the basis of multiprocessor programming. Atomics on multiple adjacent words, i.e., Big Atomics, are a powerful construct with wide utility in concurrent programming and algorithm design. Unfortunately, there are no existing algorithms for big atomics that are simultaneously efficient in theory and practice. Algorithms based on sequence locks work well in practice when processes are not interrupted, but are blocking, and hence not theoretically efficient, nor efficient in practice under contention and oversubscription. On the other hand, theoretically efficient non-blocking solutions (wait-free or lock-free) require a level of indirection and suffer a significant practical cost.
In this paper, we present two new algorithms for big atomics, which are non-blocking, but avoid indirection in most cases. The first algorithm is wait-free and supports operations in time proportional to the size of the atomic, but requires storing two copies of each object. The second is lock-free and its memory usage is optimal within low-order terms. Both use a practical caching scheme, in which updated values are temporarily stored using a level of indirection and then are replaced with the direct value.
We experimentally evaluate our algorithms, comparing them to traditional locks, sequence locks, hardware transactional memory (HTM), and indirection (wait-free). Comparisons are across a broad set of workloads. Our experiments show that our algorithms, and our lock-free memory-efficient algorithm in particular, perform competitively with the best blocking solution (sequence lock) in friendly conditions, but are significantly better when there are more software threads than hardware threads (oversubscription). We also measure the performance of big atomics as part of ParlayHash, a state-of-the-art concurrent hash map.

[45] arXiv:2609.15510 (replaced) [pdf, html, other]
Title: Perfectly Guarding Straits: Exact Algorithms for Guarding Weak Visibility Polygons from Their Base
Shouvik Mondal, Udvas Das, Sasanka Roy
Subjects: Computational Geometry (cs.CG); Discrete Mathematics (cs.DM); Data Structures and Algorithms (cs.DS)

Abrahamsen, Adamaszek, and Miltzow showed that the Art Gallery Problem is $\exists\mathbb{R}$-complete (JACM 2022). We show that it becomes exactly solvable when all guards must lie on the base of a weak visibility polygon. Every point of such a polygon is seen from some point of its base. We call this problem the Strait Guarding Problem (SGP). The points of the base that see a given point form an interval. Yet SGP is not a finite interval-stabbing problem. The minimum number $\mathrm{OPT}$ of guards can be arbitrarily large even for six-vertex polygons. Hence no function of the number $n$ of vertices bounds $\mathrm{OPT}$. A candidate set whose size depends only on $n$ cannot always contain an optimal solution.
Our algorithm for SGP runs in $O((n + \mathrm{OPT}\cdot\rho)(\log n + \log\mathrm{OPT}))$ time. Here $\rho$ is the number of reflex vertices. Each guard is determined by one of $O(n)$ points fixed in advance or by a shadow point of the previous guard. A shadow point is a boundary point where the view of a guard is cut off by a reflex vertex. One ray-shooting query finds it. The algorithm also returns $\mathrm{OPT}$ boundary points such that no point of the base sees two of them. This witness set proves that the guard set is optimal. So every weak visibility polygon is perfect with respect to its base. Altitude terrain guarding is a special case of SGP with guards on a horizontal line above a terrain. At a fixed height, we compute an optimal guard set and a matching witness set in $O(n)$ time. Computing such a witness set previously took $O(n^2\log n)$ time (CGTA 2019). We also find the least height at which $m$ guards suffice. This takes $O(nm\log n\log(m+1) + nm^2)$ time and improves the bound based on Davenport-Schinzel sequences (IWOCA 2025) for every $m \ge 4$. Guarding only the vertices takes $\Theta(n\log n)$ time in the algebraic computation-tree model.

[46] arXiv:2612.00720 (replaced) [pdf, html, other]
Title: Lower bounds for inner product and Kronecker powers: composite moduli, threshold gates, and linear circuits of every depth
Tejasvi Singh Tomar
Comments: 119 pages. Theorems M and 3.40, the bounds of Section 7 and the upper bounds of Section 5 are unconditional. The other lower bounds of Sections 4-6 assume Theorem 1.2 of 'Euclidean geometry in the asymptotic spectrum of tensors' and use results of 'The logarithmic exponent of finite Fourier transforms' (OpenAI preprints, 2026). Ancillary files: this http URL (Lean 4 proofs) and this http URL
Subjects: Combinatorics (math.CO); Computational Complexity (cs.CC); Discrete Mathematics (cs.DM); Data Structures and Algorithms (cs.DS); Rings and Algebras (math.RA)

Lower bounds against $\mathrm{MOD}_m$ circuits with composite $m$ and against linear circuits for explicit matrices are long-standing open problems. The following bounds are unconditional. Inner product modulo a prime $q$ on $k$-bit inputs needs $2^{\Omega(k)}$ gates in depth-two circuits whose top gate is a $\mathrm{MOD}_m$ gate, for fixed $m$ coprime to $q$ such as $6$, and whose bottom gates depend on one linear form with bounded integer weights. $\mathrm{MOD}_q$ needs $2^{\Omega(n)}$ gates in $\mathrm{MOD}_m\circ\mathrm{MOD}_{m'}$ circuits, such as $\mathrm{MOD}_{15}\circ\mathrm{MOD}_2$, when $q$ is coprime to $mm'$. Polynomial lower bounds hold against $\mathrm{MOD}_m\circ\mathrm{THR}$ circuits with restricted gates. Our lower bounds for linear circuits and Boolean inner product assume a theorem of an OpenAI preprint, "Euclidean geometry in the asymptotic spectrum of tensors". Under it, depth-two circuits need $N^{(1+\sqrt{2})/2}$ wires for Kronecker products of invertible $2\times 2$ matrices with nonzero entries over any field, and in unbounded depth every invertible nonmonomial $2\times 2$ Kronecker power of order $N$ needs $\Omega(N\sqrt{\log N})$ gates over every field; an example is the Sierpinski matrix in XOR circuits. Unconditionally, $N(\log N)^{1/2+o(1)}$ gates suffice for these Kronecker powers. Via the approach of Alman and Li, Boolean inner product, an $\mathrm{AC}^0$ function, needs $2^{\Omega(n)}$ gates in $\mathrm{SUM}\circ\mathrm{ETHR}$ and $\mathrm{MOD}_p\circ\mathrm{THR}$ circuits with arbitrary weights, for every fixed prime $p$. The depth-two proof extends a price argument for abelian character tables to these Kronecker products by an explicit degeneration.

Total of 46 entries
Showing up to 2000 entries per page: fewer | more | all
We gratefully acknowledge support from our major funders, member institutions, , and all contributors.
About · Help · Contact · Subscribe · Copyright · Privacy · Accessibility · Operational Status (opens in new tab)