中文
相关论文

相关论文: Longest Common Pattern between two Permutations

200 篇论文

This note provides very simple, efficient algorithms for computing the number of distinct longest common subsequences of two input strings and for computing the number of LCS embeddings.

数据结构与算法 · 计算机科学 2007-05-23 Ronald I. Greenberg

For each integer k >= 2, let F(k) denote the largest n for which there exists a permutation \sigma \in S_n, all of whose patterns of length k are distinct. We prove that F(k) = k + \lfloor \sqrt{2k-3} \rfloor + e_k, where e_k \in {-1,0} for…

组合数学 · 数学 2012-06-12 Peter Hegarty

The 2-LCPS problem, first introduced by Chowdhury et al. [Fundam. Inform., 129(4):329-340, 2014], asks one to compute (the length of) a longest palindromic common subsequence between two given strings $A$ and $B$. We show that the 2-LCPS…

数据结构与算法 · 计算机科学 2016-12-23 Shunsuke Inenaga , Heikki Hyyrö

Recently, Babson and Steingrimsson have introduced generalised permutation patterns that allow the requirement that two adjacent letters in a pattern must be adjacent in the permutation. We consider pattern avoidance for such patterns, and…

组合数学 · 数学 2007-05-23 Anders Claesson

We investigate permutations and involutions that avoid a pattern of length three and have a {\em unique} longest increasing subsequence.

组合数学 · 数学 2020-03-25 Miklos Bona , Elijah DeJonge

We introduce an algorithm that conjectures the structure of a permutation class in the form of a disjoint cover of "rules"; similar to generalized grid classes. The cover is usually easily verified by a human and translated into an…

组合数学 · 数学 2017-05-12 Christian Bean , Bjarki Gudmundsson , Henning Ulfarsson

We consider the standard message passing model; we assume the system is fully synchronous: all processes start at the same time and time proceeds in synchronised rounds. In each round each vertex can transmit a different message of size…

分布式、并行与集群计算 · 计算机科学 2015-07-14 Y. Métivier , J. M. Robson , A. Zemmari

Detecting and counting copies of permutation patterns are fundamental algorithmic problems, with applications in the analysis of rankings, nonparametric statistics, and property testing tasks such as independence and quasirandomness…

数据结构与算法 · 计算机科学 2026-05-07 Michal Opler

An occurrence of a classical pattern p in a permutation \pi is a subsequence of \pi whose letters are in the same relative order (of size) as those in p. In an occurrence of a generalized pattern, some letters of that subsequence may be…

组合数学 · 数学 2008-05-31 Einar Steingrimsson

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

The NP-complete Permutation Pattern Matching problem asks whether a permutation P (the pattern) can be matched into a permutation T (the text). A matching is an order-preserving embedding of P into T. In the Generalized Permutation Pattern…

计算复杂性 · 计算机科学 2013-01-15 Marie-Louise Bruner , Martin Lackner

Finding the longest common subsequence in $k$-length substrings (LCS$k$) is a recently proposed problem motivated by computational biology. This is a generalization of the well-known LCS problem in which matching symbols from two sequences…

数据结构与算法 · 计算机科学 2013-11-20 Sebastian Deorowicz , Szymon Grabowski

In this note, we first introduce a new problem called the longest common subsequence and substring problem. Let $X$ and $Y$ be two strings over an alphabet $\Sigma$. The longest common subsequence and substring problem for $X$ and $Y$ is to…

数据结构与算法 · 计算机科学 2023-08-03 R. Li , J. Deka , K. Deka

Additive Fourier Transform is sdudied. A fast multiplication algorithm for polynomials over the binary field is given. The bit complexity of the algorithm is $O(n(log n)(\log\log n)^2)$.

数论 · 数学 2025-05-15 Chunlei Liu

We characterise and enumerate permutations that are sortable by n-4 passes through a stack. We conjecture the number of permutations sortable by n-5 passes, and also the form of a formula for the general case n-k, which involves a…

组合数学 · 数学 2009-02-03 Anders Claesson , Mark Dukes , Einar Steingrimsson

Motivated by the problem of constructing bijective maps with low differential uniformity, we introduce the notion of permutation resemblance of a function, which looks to measure the distance a given map is from being a permutation. We…

信息论 · 计算机科学 2023-02-08 Li-An Chen , Robert S. Coulter

The problem of determining which permutations can be sorted using certain switchyard networks dates back to Knuth in 1968. In this work, we are interested in permutations which are sortable on a double-ended queue (called a deque), or on…

组合数学 · 数学 2012-08-16 Daniel Denton

We use an interesting result of probabilistic flavor concerning the product of two permutations consisting of one cycle each to find an explicit formula for the average number of block interchanges needed to sort a permutation of length…

组合数学 · 数学 2008-11-06 Miklos Bona , Ryan Flynn

We present an algorithm computing the longest periodic subsequence of a string of length $n$ in $O(n^7)$ time with $O(n^4)$ words of space. We obtain improvements when restricting the exponents or extending the search allowing the reported…

数据结构与算法 · 计算机科学 2022-02-16 Hideo Bannai , Tomohiro I , Dominik Köppl

We prove a central limit theorem for the length of the longest subsequence of a random permutation which follows one of a class of repeating patterns. This class includes every fixed pattern of ups and downs having at least one of each,…

组合数学 · 数学 2024-09-25 Aaron Abrams , Eric Babson , Henry Landau , Zeph Landau , James Pommersheim