Polynomial vs. Pseudo-Polynomial

preview_player
Показать описание
Debunking the subtle differences between the two very similar program runtimes, and highlighting why this distinction is so important.
Рекомендации по теме
Комментарии
Автор

Around 5:27, it is stated that it is "non-polynomially complete problem, so it's NP-complete...". Would it perhaps be better to say "non-deterministic polynomial"?

AngelExia
Автор

Just O(n^k) for some k is fine to define P problems. Because for example every problem that is O(nlogn) is also O(n^2)...

theodorosstassinopoulos
Автор

Does this mean that virtually any loop structure that iterates from say i=0 to i=n is pseudopolynomial? Because you could always have a massive "n" as input like 300 digits in your example.

letoiiatreides
Автор

Please re-do the video with clearer understanding. a 300 digit integer can be represented by about log2(300) bits. So if you increase digits, your required number of bits would grow logarithmically, not exponentially.

randomvideos
Автор

I feel like you do not understand NP vs P. Your explanation is at least wired if not flat out wrong. You simply didn't even go into the mathematical Background. Didn't argue about encoding length or any exponential function what so ever. This video does not help anyone to truly understand the issue. I'm thankful you tried to help people, but I would just delete the video if I could. Excuse my English pls.

justusrenger