AI-powered
podcast player
Listen to all your favourite podcasts with AI-powered features
The Difference Between P and NP
P stands for the class of problems for which there is a practical algorithm, an algorithm that can run in a reasonable time. NP as it turns out stands for non-deterministic polynomial. What you're really interested in is the length of time the algorithm takes and how that scales up as the size of the input in pieces. The only drawback with the algorithm is that if you program your computer to run the algorithm, it would take a trillion years or something like that. So the focus shifted very much to whether you have practical algorithms or not.