Skip to main content

Questions tagged [polynomial-time]

Use for algorithms, algorithm-analysis and complexity-theory questions that aim for polynomial running time resp. time complexity. Such questions often are are reference-requests or about runtime-analysis or time-complexity.

0 votes
0 answers
102 views

Let $L$ be a language such that $x \in L \Leftrightarrow \exists y_1 \in \{0,1\}^{q(n)} \; \forall y_2 \cdots Q_{k(n)}y_{k(n)} \in \{0,1\}^{q(n)} \; T(x,y_1,\cdots,y_k)$ where $|x|=n$; $q,k$ are ...
advocateofnone's user avatar
1 vote
1 answer
222 views

Parity games are simple games played on a graph: https://en.m.wikipedia.org/wiki/Parity_game Let $A$ be an algorithm that solves the following problem in polynomial time. Given: A graph $G=(V,E)$ ...
user77036's user avatar
2 votes
1 answer
553 views

I have written a proof of the statement $\sf P = NL \neq NP$. However, since the proof for the first part is quite simple, I suspect that it may be incorrect. I would appreciate it if you could help ...
Mohsen Ghorbani's user avatar
2 votes
0 answers
79 views

Let $𝐿 ∈ RTIME(𝑛 ^3 )$. That is: There exists a Probabilistic TM that runs in $𝑂(𝑛^3 )$ time, such that for every $𝑥 ∈ \{0,1\}^∗$ $x ∈ L ⟹ Pr[𝑀(𝑥) = 1] ≥ 2/3$ $x ∉ L ⟹ Pr[𝑀(𝑥) = 0] = 1$ I ...
David's user avatar
  • 121
0 votes
2 answers
150 views

As the title says, two direct questions are showed as followed: Can real-world algorithms with time complexity $O(n^c)$ be treated as polynomial-time algorithms in complexity theory? How could I ...
JohnsonL's user avatar
2 votes
1 answer
295 views

The book by Arora and Barak defines $G: \{0,1\}^* \rightarrow \{0,1\}^*$ to be a cryptographically secure PRG if: $G$ can be computed in polynomial time in input length. $|G(x)| = l(n)$, where $n=|x|$...
advocateofnone's user avatar
0 votes
1 answer
197 views

Recently, I came across a video introducing an algorithm (GAF) that computes the chromatic number of any connected, undirected graph in polynomial time. So, what impact it has on P = NP?
Gadget's user avatar
  • 47
0 votes
1 answer
102 views

I'm trying to use Scipy's least_squares function and the documentation says that least_squares uses the Levenberg-Marquadt ...
David Pham's user avatar
0 votes
2 answers
160 views

I recently completed a coursework on PRIMES and time complexity, and I got marked down for something which I think I got right, I wanted to ask here to make sure. Here is the problem and I will talk ...
Michael's user avatar
1 vote
0 answers
71 views

I was reading these notes on approximation algorithms and I stumbled across a PTAS for an optimization version of the partition problem (essentially the Identical-machines scheduling $P_2 \|C_{\...
Jaimi's user avatar
  • 85
0 votes
1 answer
66 views

A Boolean formula using only negation $\neg$, AND $\land$ and OR $\lor$ is said to be in negative normal form if the negation only appears in front of a variable, like this $\neg(x)$. So for instance, ...
Dominic van der Zypen's user avatar
1 vote
0 answers
63 views

Given a graph $G$ with $n$ vertices. Each vertex has a weight $w_i$. For any subgraph $H$, define a function for each vertex of $H$, $f(v_i)$, to be the average of the weight of $v_i$ and all weights ...
ryanriess's user avatar
  • 111
0 votes
2 answers
128 views

I keep reading that we don’t know if p=np or if p!=np , but what is the basis for this universality? This question is derived from this statement from the book Introduction to algorithms, third ...
Roon's user avatar
  • 1
2 votes
1 answer
284 views

Given the efficient solvability of the $2$-coloring problem in bipartite graphs, I claim that the this problem can be accomplished within polynomial time. A algorithm for solving this problem involves ...
Frank Vega's user avatar
0 votes
0 answers
88 views

Given two integers $m$ and $n$ computing $\mathsf{GCD}(m,n)$ is not known to be either in $NC$ or in strongly Polynomial time. Given three integers $m$, $n$ and $g$, is testing $g=\mathsf{GCD}(m,n)$ ...
Turbo's user avatar
  • 2,957

15 30 50 per page
1
2 3 4 5
30