跳到正文
研踪PaperTrail
← 研踪 PaperTrail

arXiv:2611.35916 · v1

Maximum Letter-Duplicated and Longest Run Subsequences: Algorithms, Approximation, and Interval-Selection Connections

首次提交 2026-11-26 19:10
版本更新 2026-11-26 19:10
雷达观测 2026-11-30 11:29
arXiv ↗PDF ↗

摘要

We study Max-LL-DUP: given a string SS, find a letter-duplicated subsequence containing the maximum number of distinct symbols. A preliminary version showed that the problem is solvable in linear time when every symbol occurs at most three times and is APX-hard when every symbol occurs at most four times. We develop a more complete algorithmic picture of the problem. Our main structural observation is that feasible solutions can be represented using intervals between consecutive occurrences of symbols, with a linear number of relevant intervals. This gives a deterministic linear-time 2-approximation for unrestricted Max-LL-DUP and an exact reduction to the Job Interval Selection Problem. Consequently, for every constant ε>0\varepsilon>0, unrestricted Max-LL-DUP admits a randomized (e/(e−1)+ε)(e/(e-1)+\varepsilon)-approximation, while the frequency-four case admits a randomized (4/3+ε)(4/3+\varepsilon)-approximation through an exact reduction to JISP2_2. We also give an exact O(2pn)O(2^p n)-time algorithm, where pp is the number of symbols occurring more than three times. For 3-Max-LL-DUP range queries, we obtain linear space and O(log⁡log⁡n)O(\log\log n) query time via weighted-ancestor queries. We further study single-deletion sensitivity and compute all nn deletion answers in O(2pn+nlog⁡n)O(2^p n+n\log n) total time. Finally, we consider the related Longest Run Subsequence problem. Both problems admit an interval-selection interpretation, but their objectives differ: one counts represented symbols whereas the other counts selected positions. Exploiting this connection, we give a value-preserving reduction to weighted Job Interval Selection and obtain a polynomial-time 2-approximation without any restriction on symbol frequencies. To the best of our knowledge, this is the first constant-factor approximation for unrestricted Longest Run Subsequence.

作者备注:14 pages, 1 figure

AI 论文解读

基于摘要 · 非全文审阅

此版本尚未生成 AI 解读。解读由后台任务生成并按论文版本保存,登录后共享已有结果。

版本差异

目前只收录了一个版本。收录下一版后,可以对照标题、作者、分类和摘要。

观测到的版本

相邻记录可能跳过中间版本;首次发现 v2 及以上也会标为版本更新。

v1 · 2026-11-26 19:10 · 最新观测版本

Maximum Letter-Duplicated and Longest Run Subsequences: Algorithms, Approximation, and Interval-Selection Connections

We study Max-LL-DUP: given a string SS, find a letter-duplicated subsequence containing the maximum number of distinct symbols. A preliminary version showed that the problem is solvable in linear time when every symbol occurs at most three times and is APX-hard when every symbol occurs at most four times. We develop a more complete algorithmic picture of the problem. Our main structural observation is that feasible solutions can be represented using intervals between consecutive occurrences of symbols, with a linear number of relevant intervals. This gives a deterministic linear-time 2-approximation for unrestricted Max-LL-DUP and an exact reduction to the Job Interval Selection Problem. Consequently, for every constant ε>0\varepsilon>0, unrestricted Max-LL-DUP admits a randomized (e/(e−1)+ε)(e/(e-1)+\varepsilon)-approximation, while the frequency-four case admits a randomized (4/3+ε)(4/3+\varepsilon)-approximation through an exact reduction to JISP2_2. We also give an exact O(2pn)O(2^p n)-time algorithm, where pp is the number of symbols occurring more than three times. For 3-Max-LL-DUP range queries, we obtain linear space and O(log⁡log⁡n)O(\log\log n) query time via weighted-ancestor queries. We further study single-deletion sensitivity and compute all nn deletion answers in O(2pn+nlog⁡n)O(2^p n+n\log n) total time. Finally, we consider the related Longest Run Subsequence problem. Both problems admit an interval-selection interpretation, but their objectives differ: one counts represented symbols whereas the other counts selected positions. Exploiting this connection, we give a value-preserving reduction to weighted Job Interval Selection and obtain a polynomial-time 2-approximation without any restriction on symbol frequencies. To the best of our knowledge, this is the first constant-factor approximation for unrestricted Longest Run Subsequence.

查看此版本解读 →查看此版本原文 ↗