中文
相关论文

相关论文: Sorting using complete subintervals and the maximu…

200 篇论文

We consider the discrepancy problem of coloring $n$ intervals with $k$ colors such that at each point on the line, the maximal difference between the number of intervals of any two colors is minimal. Somewhat surprisingly, a coloring with…

数据结构与算法 · 计算机科学 2010-12-20 Antonios Antoniadis , Falk Hüffner , Pascal Lenzner , Carsten Moldenhauer , Alexander Souza

A sequence of reversals that takes a signed permutation to the identity is perfect if at no step a common interval is broken. Determining a parsimonious perfect sequence of reversals that sorts a signed permutation is NP-hard. Here we show…

组合数学 · 数学 2009-05-18 Mathilde Bouvel , Cedric Chauve , Marni Mishna , Dominique Rossin

The quest for efficient sorting is ongoing, and we will explore a graph-based stable sorting strategy, in particular employing comparison graphs. We use the topological sort to map the comparison graph to a linear domain, and we can…

数据结构与算法 · 计算机科学 2020-09-02 Balaram Behera

The classical comparison-based sorting problem asks us to find the underlying total order of a given set of elements, where we can only access the elements via comparisons. In this paper, we study a restricted version, where, as a hint, a…

数据结构与算法 · 计算机科学 2025-07-21 Benjamin Aram Berendsohn

Best Fit is a well known online algorithm for the bin packing problem, where a collection of one-dimensional items has to be packed into a minimum number of unit-sized bins. In a seminal work, Kenyon [SODA 1996] introduced the (asymptotic)…

数据结构与算法 · 计算机科学 2020-12-02 Susanne Albers , Arindam Khan , Leon Ladewig

We initiate a study of the streaming complexity of constraint satisfaction problems (CSPs) when the constraints arrive in a random order. We show that there exists a CSP, namely $\textsf{Max-DICUT}$, for which random ordering makes a…

数据结构与算法 · 计算机科学 2023-04-14 Raghuvansh R. Saxena , Noah Singer , Madhu Sudan , Santhoshini Velusamy

In the first place, a novel, yet straightforward in-place integer value-sorting algorithm is presented. It sorts in linear time using constant amount of additional memory for storing counters and indices beside the input array. The…

数据结构与算法 · 计算机科学 2013-07-11 A. Emre Cetin

We consider the problem of determining the maximum number of moves required to sort a permutation of $[n]$ using cut-and-paste operations, in which a segment is cut out and then pasted into the remaining string, possibly reversed. We give…

组合数学 · 数学 2011-10-12 Daniel Cranston , I. Hal Sudborough , Douglas B. West

We examine sorting algorithms for $n$ elements whose basic operation is comparing $t$ elements simultaneously (a $t$-comparator). We focus on algorithms that use only a single round or two rounds -- comparisons performed in the second round…

数据结构与算法 · 计算机科学 2024-05-22 Ran Gelles , Zvi Lotker , Frederik Mallmann-Trenn

We empirically study sorting in the evolving data model. In this model, a sorting algorithm maintains an approximation to the sorted order of a list of data items while simultaneously, with each comparison made by the algorithm, an…

数据结构与算法 · 计算机科学 2018-05-16 Juan Jose Besa , William E. Devanny , David Eppstein , Michael Goodrich , Timothy Johnson

A sorting network is a shortest path from 12..n to n..21 in the Cayley graph of the symmetric group S(n) generated by nearest-neighbor swaps. A pattern is a sequence of swaps that forms an initial segment of some sorting network. We prove…

概率论 · 数学 2012-11-21 Omer Angel , Vadim Gorin , Alexander E. Holroyd

We study which property testing and sublinear time algorithms can be transformed into graph streaming algorithms for random order streams. Our main result is that for bounded degree graphs, any property that is constant-query testable in…

数据结构与算法 · 计算机科学 2017-07-25 Morteza Monemizadeh , S. Muthukrishnan , Pan Peng , Christian Sohler

We study the following rearrangement problem: Given $n$ words, rearrange and concatenate them so that the obtained string is lexicographically smallest (or largest, respectively). We show that this problem reduces to sorting the given words…

数据结构与算法 · 计算机科学 2022-04-26 Ruixi Luo , Taikun Zhu , Kai Jin

We introduce and analyse a new, extremely simple, randomised sorting algorithm: - choose a pair of indices $\{i, j\}$ according to some distribution $q$; - sort the elements in positions $i$ and $j$ of the array in ascending order. Choosing…

数据结构与算法 · 计算机科学 2025-02-10 Sam Olesker-Taylor

We consider the \textsf{Unit Interval Selection} problem in the one-pass random order streaming model. Here, an algorithm is presented a sequence of $n$ unit-length intervals on the line that arrive in uniform random order, and the…

数据结构与算法 · 计算机科学 2026-03-11 Cezar-Mihail Alexandru , Adithya Diddapur , Magnús M. Halldórsson , Christian Konrad , Kheeran K. Naidu

If the edges of the complete graph $K_n$ are totally ordered, a simple path whose edges are in ascending order is called increasing. The worst-case length of the longest increasing path has remained an open problem for several decades, with…

组合数学 · 数学 2014-03-06 Mikhail Lavrov , Po-Shen Loh

One of the fundamental problem in the theory of sorting is to find the pessimistic number of comparisons sufficient to sort a given number of elements. Currently 16 is the lowest number of elements for which we do not know the exact value.…

数据结构与算法 · 计算机科学 2015-03-17 Marcin Peczarski

Motivated by the development of computer theory, the sorting algorithm is emerging in an endless stream. Inspired by decrease and conquer method, we propose a brand new sorting algorithmUltimately Heapsort. The algorithm consists of two…

数据结构与算法 · 计算机科学 2019-02-04 Feiyang Chen , Nan Chen , Hanyang Mao , Hanlin Hu

Ranking over sets arise when users choose between groups of items. For example, a group may be of those movies deemed $5$ stars to them, or a customized tour package. It turns out, to model this data type properly, we need to investigate…

机器学习 · 计算机科学 2014-08-04 Truyen Tran , Dinh Phung , Svetha Venkatesh

We study maximal seating arrangements, either on a line, or in a rectangular auditorium with a fixed number of columns but an arbitrary number of rows, that obey any prescribed set of `social distancing' restrictions. In addition to…

组合数学 · 数学 2024-01-24 George Spahn , Doron Zeilberger