中文
相关论文

相关论文: On the Complexity of Approximate Sum of Sorted Lis…

200 篇论文

We investigate the approximation for computing the sum $a_1+...+a_n$ with an input of a list of nonnegative elements $a_1,..., a_n$. If all elements are in the range $[0,1]$, there is a randomized algorithm that can compute an…

数据结构与算法 · 计算机科学 2012-03-01 Bin Fu , Wenfeng Li , Zhiyong Peng

Given a multiset $X=\{x_1,..., x_n\}$ of real numbers, the {\it floating-point set summation} problem asks for $S_n=x_1+...+x_n$. Let $E^*_n$ denote the minimum worst-case error over all possible orderings of evaluating $S_n$. We prove that…

数据结构与算法 · 计算机科学 2024-09-21 Ming-Yang Kao , Jie Wang

The bin packing problem is to find the minimum number of bins of size one to pack a list of items with sizes $a_1,..., a_n$ in $(0,1]$. Using uniform sampling, which selects a random element from the input list each time, we develop a…

计算复杂性 · 计算机科学 2011-02-25 Richard Beigel , Bin Fu

Approximating Subset Sum is a classic and fundamental problem in computer science and mathematical optimization. The state-of-the-art approximation scheme for Subset Sum computes a $(1-\varepsilon)$-approximation in time…

数据结构与算法 · 计算机科学 2020-10-28 Karl Bringmann , Vasileios Nakos

This paper studies the average complexity on the number of comparisons for sorting algorithms. Its information-theoretic lower bound is $n \lg n - 1.4427n + O(\log n)$. For many efficient algorithms, the first $n\lg n$ term is easy to…

数据结构与算法 · 计算机科学 2017-05-03 Kazuo Iwama , Junichi Teruyama

We prove that \Omega(n log(n)) comparisons are necessary for any quantum algorithm that sorts n numbers with high success probability and uses only comparisons. If no error is allowed, at least 0.110nlog_2(n) - 0.067n + O(1) comparisons…

量子物理 · 物理学 2007-05-23 Yaoyun Shi

Finding the length of the longest increasing subsequence (LIS) is a classic algorithmic problem. Let $n$ denote the size of the array. Simple $O(n\log n)$ algorithms are known for this problem. We develop a polylogarithmic time randomized…

数据结构与算法 · 计算机科学 2013-08-06 M. Saks , C. Seshadhri

We consider the SUBSET SUM problem and its important variants in this paper. In the SUBSET SUM problem, a (multi-)set $X$ of $n$ positive numbers and a target number $t$ are given, and the task is to find a subset of $X$ with the maximal…

数据结构与算法 · 计算机科学 2022-12-07 Xiaoyu Wu , Lin Chen

Subset sum is a very old and fundamental problem in theoretical computer science. In this problem, $n$ items with weights $w_1, w_2, w_3, \ldots, w_n$ are given as input and the goal is to find out if there is a subset of them whose weights…

数据结构与算法 · 计算机科学 2022-09-13 Hamed Saleh , Saeed Seddighin

Let $k$ and $n$ be positive integers, $n>k$. Define $r(n,k)$ to be the minimum positive value of $$ |\sqrt{a_1} + ... + \sqrt{a_k} - \sqrt{b_1} - >... -\sqrt{b_k} | $$ where $ a_1, a_2, ..., a_k, b_1, b_2, ..., b_k $ are positive integers…

计算几何 · 计算机科学 2007-05-23 Qi Cheng

Given a multiset $S$ of $n$ positive integers and a target integer $t$, the Subset Sum problem asks to determine whether there exists a subset of $S$ that sums up to $t$. The current best deterministic algorithm, by Koiliaris and Xu…

数据结构与算法 · 计算机科学 2020-01-03 Ce Jin , Hongxun Wu

We study the problem of computing a longest increasing subsequence in a sequence $S$ of $n$ distinct elements in the presence of persistent comparison errors. In this model, every comparison between two elements can return the wrong result…

数据结构与算法 · 计算机科学 2018-08-13 Barbara Geissmann

This paper considers the problem of maintaining statistic aggregates over the last W elements of a data stream. First, the problem of counting the number of 1's in the last W bits of a binary stream is considered. A lower bound of…

数据结构与算法 · 计算机科学 2016-04-12 Ran Ben Basat , Gil Einziger , Roy Friedman , Yaron Kassner

The list-labeling problem captures the basic task of storing a dynamically changing set of up to $n$ elements in sorted order in an array of size $m = (1 + \Theta(1))n$. The goal is to support insertions and deletions while moving around…

数据结构与算法 · 计算机科学 2024-05-03 Michael A. Bender , Alex Conway , Martín Farach-Colton , Hanna Komlós , Michal Koucký , William Kuszmaul , Michael Saks

We consider a large family of problems in which an ordering (or, more precisely, a chain of subsets) of a finite set must be chosen to minimize some weighted sum of costs. This family includes variations of Min Sum Set Cover (MSSC), several…

数据结构与算法 · 计算机科学 2021-06-28 Felix Happach , Lisa Hellerstein , Thomas Lidbetter

The subset sum problem (SSP) can be briefly stated as: given a target integer $E$ and a set $A$ containing $n$ positive integer $a_j$, find a subset of $A$ summing to $E$. The \textit{density} $d$ of an SSP instance is defined by the ratio…

数据结构与算法 · 计算机科学 2008-06-23 Changlin Wan , Zhongzhi Shi

We present the first explicit comparison-based algorithm that sorts the sumset $X + Y = \{x_i + y_j,\ \forall 0 \le i, j < n\}$, where $X$ and $Y$ are sorted arrays of real numbers, in optimal $O(n^2)$ time and comparisons. While Fredman…

数据结构与算法 · 计算机科学 2025-04-24 S. Mundhra

The Subset Sum problem asks whether a given set of $n$ positive integers contains a subset of elements that sum up to a given target $t$. It is an outstanding open question whether the $O^*(2^{n/2})$-time algorithm for Subset Sum by…

数据结构与算法 · 计算机科学 2015-08-26 Per Austrin , Mikko Koivisto , Petteri Kaski , Jesper Nederlof

In the online sorting problem, a sequence of $n$ numbers in $[0, 1]$ (including $\{0,1\}$) have to be inserted in an array of size $m \ge n$ so as to minimize the sum of absolute differences between pairs of numbers occupying consecutive…

数据结构与算法 · 计算机科学 2025-08-21 Yossi Azar , Debmalya Panigrahi , Or Vardi

The maximal sum of a sequence "A" of "n" real numbers is the greatest sum of all elements of any strictly contiguous and possibly empty subsequence of "A", and it can be computed in "O(n)" time by means of Kadane's algorithm. Letting "A^(x…

数据结构与算法 · 计算机科学 2017-01-09 Ricardo C. Corrêa , Pablo M. S. Farias
‹ 上一页 1 2 3 10 下一页 ›