Skip to main content
Search type Search syntax
Tags [tag]
Exact "words here"
Author user:1234
user:me (yours)
Score score:3 (3+)
score:0 (none)
Answers answers:3 (3+)
answers:0 (none)
isaccepted:yes
hasaccepted:no
inquestion:1234
Views views:250
Code code:"if (foo != bar)"
Sections title:apples
body:"apples oranges"
URL url:"*.example.com"
Saves in:saves
Status closed:yes
duplicate:no
migrated:no
wiki:no
Types is:question
is:answer
Exclude -[tag]
-apples
For more details on advanced search visit our help page
Results tagged with
Search options not deleted user 4795

P versus NP and other resource-bounded computation.

14 votes
2 answers
366 views

Smallest set not included in a collection of sets

Given as input an integer $n$ and a set $S$ of sets of elements of $\{1, ..., n\}$, what is the complexity of finding a set $T$ of elements of $\{1, ..., n\}$ such that $T$ has minimal cardinality and …
Antoine Amarilli 'a3nm''s user avatar
2 votes

Is S-T CONNECTEDNESS #P-complete on instances when all s-t paths are of the same length?

The following answer doesn't really answer the question given, because it's not about counting spanning subgraphs but about counting all subgraphs where some edges are fixed (i.e., cannot be removed). …
Antoine Amarilli 'a3nm''s user avatar
2 votes
Accepted

Complexity of #PP2DNF where we also count on the number of clauses

The problem is #P-hard, as we prove in a recent preprint: https://arxiv.org/abs/1908.07093 The way the preprint is phrased is closer to the equivalent formulation of the problem given at the end of m …
Antoine Amarilli 'a3nm''s user avatar
3 votes
1 answer
172 views

Complexity of #PP2DNF where we also count on the number of clauses

The #PP2DNF problem is the following: we have variables $X = \{x_1, \ldots, x_n\}$, $Y = \{y_1, \ldots, y_n\}$, and a positive partitioned 2-DNF formula, i.e., a Boolean formula of the form $\phi = \b …
Antoine Amarilli 'a3nm''s user avatar
0 votes
Accepted

Is this problem #P-hard and why?

I show a reduction from positive partitioned 2-DNF assignment counting (see proof of 5.1 in [http://www.vldb.org/conf/2004/RS22P1.PDF] for details and inspiration of my proof). This problem asks to co …
Antoine Amarilli 'a3nm''s user avatar
10 votes
1 answer
363 views

Complexity of checking if two words have an interleaving in a language

For a fixed language $L$ on some alphabet $A$, let us consider the following problem, that I call $L$-INTERLEAVING: Input: two words $u, v \in A^*$ Output: whether there exists an interleaving of $u …
Antoine Amarilli 'a3nm''s user avatar
4 votes
1 answer
1k views

Can two strings be matched as disjoint subsequences of a string?

Consider a fixed finite alphabet $A$. I am given as input two strings $S_1$ and $S_2$ on $A$, and a string $S$ on $A$. It is of course possible in PTIME to determine whether $S_1$ is a (non-contiguous …
Antoine Amarilli 'a3nm''s user avatar
2 votes
1 answer
248 views

Which hypergraphs can be simplified by alternatively removing a hyperedge and an isolated ve...

Let $H = (V, E)$ be a hypergraph, with $V$ the set of vertices and $E \subseteq 2^V$ the set of hyperedges. An elimination sequence on $H$ consists of alternatively removing hyperedges. Specifically, …
Antoine Amarilli 'a3nm''s user avatar
1 vote
1 answer
644 views

Hardness of XSAT

The standard NP-hard SAT problem is the problem of Boolean satisfiability of conjunctions of clauses, where clauses are disjunctions of literals. I am interested in the problem of the Boolean satisfi …
Antoine Amarilli 'a3nm''s user avatar
2 votes
Accepted

Hardness of XSAT

Exact SAT (XSAT) is NP-hard by a reduction from the exact hitting set problem (or, equivalently, exact set cover), even when all literals are positive. Encode the set $X$ to a set of positive literals …
Antoine Amarilli 'a3nm''s user avatar
4 votes

Arranging letters to make a word in a regular language

With an idea by Louis Jachiet, we managed to design a PTIME algorithm for this task. Long story short, it's a dynamic programming algorithm where you sort the $b$'s by decreasing "ending time" (i.e., …
Antoine Amarilli 'a3nm''s user avatar
1 vote

Topological sorting of a DAG where special vertices have to come in even groups

OK, I'm coming back to this after some more thought based on the ideas of @GaraPruesse and @ChandraChekuri. I'm not 100% sure, because these arguments are a pain to formalize and visualize, but I thin …
Antoine Amarilli 'a3nm''s user avatar
12 votes
2 answers
6k views

Space complexity to compute the optimal string alignment for the Levenshtein edit distance

If we are given two strings of size $n_1$ and $n_2$, the standard Levenshtein edit distance computation is by a dynamic algorithm with time complexity $O(n_1 n_2)$ and space complexity $O(n_1 n_2)$. ( …
Antoine Amarilli 'a3nm''s user avatar
25 votes
1 answer
805 views

Recognizing sequences with all permutations of $\{1, \ldots, n\}$ as subsequences

For any $n > 0$, I say that a sequence $s$ of integers in $\{1, \ldots, n\}$ is $n$-complete if, for every permutation $\mathbf{p}$ of $\{1, \ldots, n\}$, written as a sequence of pairwise distinct in …
Antoine Amarilli 'a3nm''s user avatar
0 votes
0 answers
140 views

Complexity classes for problems that can be solved only from the length of the input

A tally language is a language on an alphabet with only one symbol. One can define complexity classes for tally languages, such as $P_1$ (the tally languages that can be decided in polynomial time). …
Antoine Amarilli 'a3nm''s user avatar

15 30 50 per page