中文
相关论文

相关论文: Fast and Longest Rollercoasters

200 篇论文

The $k$-Detour problem is a basic path-finding problem: given a graph $G$ on $n$ vertices, with specified nodes $s$ and $t$, and a positive integer $k$, the goal is to determine if $G$ has an $st$-path of length exactly $\text{dist}(s, t) +…

数据结构与算法 · 计算机科学 2023-07-06 Shyan Akmal , Virginia Vassilevska Williams , Ryan Williams , Zixuan Xu

A necklace is an equivalence class of words of length $n$ over an alphabet under the cyclic shift (rotation) operation. As a classical object, there have been many algorithmic results for key operations on necklaces, including counting,…

组合数学 · 数学 2021-11-08 Duncan Adamson , Argyrios Deligkas , Vladimir V. Gusev , Igor Potapov

We study the problem of finding monotone subsequences in an array from the viewpoint of sublinear algorithms. For fixed $k \in \mathbb{N}$ and $\varepsilon > 0$, we show that the non-adaptive query complexity of finding a length-$k$…

数据结构与算法 · 计算机科学 2019-10-07 Omri Ben-Eliezer , Clément L. Canonne , Shoham Letzter , Erik Waingarten

In this work, we obtain the following new results. 1. Given a sequence $D=((h_1,s_1), (h_2,s_2) ..., (h_n,s_n))$ of number pairs, where $s_i>0$ for all $i$, and a number $L_h$, we propose an O(n)-time algorithm for finding an index interval…

数据结构与算法 · 计算机科学 2008-09-15 Hsiao-Fei Liu , Peng-An Chen , Kun-Mao Chao

In this paper we examined an algorithm for the All-k-Nearest-Neighbor problem proposed in 1980s, which was claimed to have an $O(n\log{n})$ upper bound on the running time. We find the algorithm actually exceeds the so claimed upper bound,…

计算几何 · 计算机科学 2019-08-06 Hengzhao Ma , Jianzhong Li

We give a near-optimal quantum algorithm for the longest common substring (LCS) problem between two run-length encoded (RLE) strings, with the assumption that the prefix-sums of the run-lengths are given. Our algorithm costs…

量子物理 · 物理学 2024-11-06 Tzu-Ching Lee , Han-Hsuan Lin

Let k be a positive integer. A sequence s over an n-element alphabet A is called a k-radius sequence if every two symbols from A occur in s at distance of at most k. Let f_k(n) denote the length of a shortest k-radius sequence over A. We…

组合数学 · 数学 2011-05-19 Jerzy W. Jaromczyk , Zbigniew Lonc , Miroslaw Truszczynski

Let $A$ and $B$ be two number sequences of length $n$ and $m$, respectively, where $m\le n$. Given a positive number $\delta$, a common almost increasing sequence $s_1\ldots s_k$ is a common subsequence for both $A$ and $B$ such that for…

数据结构与算法 · 计算机科学 2025-05-08 Md Tanzeem Rahat , Md. Manzurul Hasan , Debajyoti Mondal

The k-forest problem is a common generalization of both the k-MST and the dense-$k$-subgraph problems. Formally, given a metric space on $n$ vertices $V$, with $m$ demand pairs $\subseteq V \times V$ and a ``target'' $k\le m$, the goal is…

数据结构与算法 · 计算机科学 2007-07-05 Anupam Gupta , MohammadTaghi Hajiaghayi , Viswanath Nagarajan , R. Ravi

One of the most fundamental problems in Computer Science is the Knapsack problem. Given a set of n items with different weights and values, it asks to pick the most valuable subset whose total weight is below a capacity threshold T. Despite…

数据结构与算法 · 计算机科学 2018-07-16 Kyriakos Axiotis , Christos Tzamos

Permutation patterns and pattern avoidance have been intensively studied in combinatorics and computer science, going back at least to the seminal work of Knuth on stack-sorting (1968). Perhaps the most natural algorithmic question in this…

数据结构与算法 · 计算机科学 2019-08-14 Benjamin Aram Berendsohn , László Kozma , Dániel Marx

An n-ary k-radius sequence is a finite sequence of elements taken from an alphabet of size n such that any two distinct elements of the alphabet occur within distance k of each other somewhere in the sequence. These sequences were…

组合数学 · 数学 2010-12-20 Simon R. Blackburn , James F. McKee

Our aim is to develop dynamic data structures that support $k$-nearest neighbors ($k$-NN) queries for a set of $n$ point sites in the plane in $O(f(n) + k)$ time, where $f(n)$ is some polylogarithmic function of $n$. The key component is a…

计算几何 · 计算机科学 2022-12-02 Sarita de Berg , Frank Staals

A subsequence of a word $w$ is a word $u$ such that $u = w[i_1] w[i_2] , \dots w[i_{|u|}]$, for some set of indices $1 \leq i_1 < i_2 < \dots < i_k \leq |w|$. A word $w$ is $k$-subsequence universal over an alphabet $\Sigma$ if every word…

数据结构与算法 · 计算机科学 2023-04-11 Duncan Adamson

A saddlepoint of an $n \times n$ matrix $A$ is an entry of $A$ that is a maximum in its row and a minimum in its column. Knuth (1968) gave several different algorithms for finding a saddlepoint. The worst-case running time of these…

数据结构与算法 · 计算机科学 2023-10-26 Justin Dallant , Frederik Haagensen , Riko Jacob , László Kozma , Sebastian Wild

Cutwidth is one of the classic layout parameters for graphs. It measures how well one can order the vertices of a graph in a linear manner, so that the maximum number of edges between any prefix and its complement suffix is minimized. As…

数据结构与算法 · 计算机科学 2017-02-16 Archontia C. Giannopoulou , Michał Pilipczuk , Jean-Florent Raymond , Dimitrios M. Thilikos , Marcin Wrochna

We study the problem of robustly learning multi-dimensional histograms. A $d$-dimensional function $h: D \rightarrow \mathbb{R}$ is called a $k$-histogram if there exists a partition of the domain $D \subseteq \mathbb{R}^d$ into $k$…

机器学习 · 计算机科学 2018-02-26 Ilias Diakonikolas , Jerry Li , Ludwig Schmidt

Given \(k\) strings each of length at most $n$, computing the shortest common supersequence of them is a well-known NP-hard problem (when \(k\) is unbounded). On the other hand, when \(k=2\), such a shortest common supersequence can be…

数据结构与算法 · 计算机科学 2026-03-25 Braeden Sopp , Adiesha Liyanage , Mingyang Gong , Binhai Zhu

We consider the problem of finding patrol schedules for $k$ robots to visit a given set of $n$ sites in a metric space. Each robot has the same maximum speed and the goal is to minimize the weighted maximum latency of any site, where the…

We consider the problem of approximate counting of triangles and longer fixed length cycles in directed graphs. For triangles, T\v{e}tek [ICALP'22] gave an algorithm that returns a $(1 \pm \eps)$-approximation in…

数据结构与算法 · 计算机科学 2024-10-01 Keren Censor-Hillel , Tomer Even , Virginia Vassilevska Williams