It can be equal, but have something like O(n*10000*10) complexity(still polynomial). Or there must be an algorithm for all the problems, but no algorithm to find it :)
> It can be equal, but have something like O(n1000010) complexity(still polynomial). Or there must be an algorithm for all the problems, but no algorithm to find it :)
Finding an algorithm for any NP-complete problem would solve all of them at once. Finding an algorithm for any NP-incomplete problem would just prove that specific problem is actually in P.
It could be, but i think having it be a huge exponent polynomial would actually be the most shocking and most interesting of all possibilities (esp. if constructive).
I agree. My way of thinking about it is the leading exponent in a polynomial is sort of equivalent to how deeply nested you loop through the data.
so if its n^1000, it naturally raises the question of why isn't n^999 enough. Why would going through the data one more time in an inner loop solve the problem. You'd think there would be diminishing returns way before this point but at the same time you are still infinitely far away from exponential where the real power gain.
It would just be so weird. What would such an algorithm look like. What sort of data structures would it be operating on? I find it hard to imagine. I truly think it would be the most surprising possibility.
Replies (2)
Finding an algorithm for any NP-complete problem would solve all of them at once. Finding an algorithm for any NP-incomplete problem would just prove that specific problem is actually in P.
Replies (1)
Replies (1)
so if its n^1000, it naturally raises the question of why isn't n^999 enough. Why would going through the data one more time in an inner loop solve the problem. You'd think there would be diminishing returns way before this point but at the same time you are still infinitely far away from exponential where the real power gain.
It would just be so weird. What would such an algorithm look like. What sort of data structures would it be operating on? I find it hard to imagine. I truly think it would be the most surprising possibility.