Search Results
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 |
Questions related to the (computational) complexity of solving problems
3
votes
Accepted
single circuit simulating multiple Turing machines
In a trivial sense, no, because circuits have a fixed input size. To compute the same function as a Turing machine, you need an infinite family of circuits, one for each input size. So a single circui …
3
votes
Accepted
Decidable language that has no finite description?
Unless you want to be more rigid in what you allow as a "description", every decidable language has a finite description - precisely the Turing machine that decides it. This Turing machine must exist …
4
votes
Accepted
Running time in FPT
No, a running time like $f(k)n^{g(n,k)}$ is not suitable for any non-constant function $g$.
$\mathrm{FPT}$ is the class of problems computable in time $O(f(k)\cdot n^{c})$ for some fixed $c \in \math …
4
votes
What is the real reason that Bubble Sort runs at O(n) in best case?
Understanding how Bubble Sort works is of course really the key here.
The main part for unraveling this is that Bubble Sort goes back to the start if it ever performs a swap. If it never performs a s …
5
votes
Accepted
Could a scientist make money off of the P vs. NP solution?
Most immediately, if they publish it, they would win the Clay Mathematics Institute prize for solving this problem, so there's at least $1 million in it. They would also almost certainly be able to ob …
2
votes
How does the computational complexity of problems depend on the model specifics of a registe...
The basic definitions of computational complexity are normally phrased in terms of plain Turing Machines, so one has to be careful about transferring results to different models. Naturally, if you can …
2
votes
Is plain multiplication a P problem?
Yes, and with many different algorithms.
See https://en.wikipedia.org/wiki/Computational_complexity_of_mathematical_operations
One important thing to notice is that the size of the input is the num …
3
votes
Accepted
In the context of parametrized complexity
Firstly, there is an important part of the quoted statement you are missing - the parameterization. It can only be classified with respect to some parameterization. For example, Dominating Set is $\ma …
7
votes
Accepted
How is integer factoring not in $P$?
One of the things to remember when dealing with natural numbers (and others, but naturals are the central things here) is the encoding, and that the definitions of $P$ and $NP$ reference the length of …
5
votes
How can Subset Sum be in CoNP?
A $\mathrm{No}$ answer means that there is no solution, not that there is a non-solution.
So for Subset-Sum this means there is no subset of the input integers that sum to zero, or to put it another …
3
votes
Parameterized vertex cover on $r$-regular graphs
There's nothing wrong with your solution, the exercise is just easier than you expected.
Your analysis correct, apart from missing out the $-1$, so it should be $k^{\mathcal{O}(1)}\cdot\binom{r}{k-1} …
3
votes
Accepted
What does $\cdot$ mean as a notation with complexity classes?
Reading Toda's original paper, it's not clear that a general application of $\cdot$ has meaning, however it may have been extended later.
Toda introduces three operators: $\oplus\cdot$, $\mathsf{BP}\ …
6
votes
Why are most (or all?) polynomial time algorithms practical?
Question (1) is a tricky one that I have never seen a good reason for. One suggestion may be that we're much more likely to comprehend and find the answers for simpler problems, the harder ones take s …
3
votes
Accepted
Proof that this problem is in NP
Once you get the hang of these, they are quite easy, so the first thing is not to over think things.
To prove containment in NP (in this manner) you need (as you mention):
A witness. This is just a …
5
votes
NP-complete promise problems?
There's two trivial answers:
No. For a problem to be NP-complete it must be in NP. To be in NP it must be a decision problem and promise problems aren't decision problems (they don't have to answer …