Are there any NP-complete problems for which an algorithm is known that the expected running time is polynomial (for some sensible distribution over the instances)?
If not, are there problems for which the existence of such an algorithm has been established?
Or does the existence of such an algorithm imply the existence of a deterministic polynomial time algorithm?
@JeffE I'm talking about expected time w.r.t. some distribution over the instances. If the algorithm is randomized, one would take the expectation over the random bits as well. But my question is not primarily about randomized algorithm.
– Steve Kroon Aug 26 '10 at 06:31