The P Vs NP Problem in the computer world…

FadinGeek
3 min readMay 9, 2023

--

It’s a problem that has been plaguing the minds of computer scientists and mathematicians for decades: the P vs. NP problem. Is every problem whose solution can be quickly verified by a computer also quickly solvable by a computer? It may sound like a simple question, but the answer has eluded some of the greatest minds in the field.

Photo by 愚木混株 cdd20 on Unsplash

Some have compared the P vs. NP problem to the search for the Holy Grail or the Fountain of Youth. It’s a tantalizing quest for knowledge, but one that has thus far proven elusive.

So, what exactly is the P vs. NP problem? Well, let’s break it down. The “P” stands for “polynomial time,” which means that an algorithm can solve a problem in a reasonable amount of time based on the size of the input. The “NP” stands for “nondeterministic polynomial time,” which means that an algorithm can verify a solution in a reasonable amount of time, but may not be able to find a solution in a reasonable amount of time.

In other words, P problems are easy to solve, while NP problems are easy to verify but may be difficult to solve. The P vs. NP problem asks whether or not there are any problems that are in NP but not in P, meaning they are easy to verify but hard to solve.

It’s a problem that has puzzled mathematicians and computer scientists for decades, with many believing that it could have significant implications for cryptography and computer security. If it turns out that P = NP, it could mean that many encryption algorithms are vulnerable to attack. On the other hand, if P ≠ NP, it could mean that some problems are fundamentally unsolvable, which could have implications for fields as diverse as artificial intelligence, optimization, and logistics.

So far, no one has been able to definitively prove either way whether P equals NP or not. The problem is considered to be one of the most important open problems in computer science and mathematics, with a $1 million prize offered by the Clay Mathematics Institute for anyone who can provide a proof.

But that hasn’t stopped some from trying to tackle the problem in unconventional ways. Some have proposed that aliens may be able to help us solve the problem, while others have suggested that we may need to build a computer the size of the universe to solve it.

Despite the seriousness of the problem, there is also a lighthearted side to the P vs. NP debate. Some have suggested that the P vs. NP problem could be compared to a game of Sudoku. Solving a Sudoku puzzle is in the P class of problems, while verifying a solution is in the NP class. Just as it’s easy to verify a completed Sudoku puzzle, it’s easy to verify a solution to an NP problem, but actually finding a solution can be difficult.

In the end, the P vs. NP problem remains one of the greatest unsolved mysteries in computer science and mathematics. While some may find the quest for a solution frustrating, others find it exhilarating. After all, who doesn’t love a good mystery?

You’re Awesome :)

FadinGeek

--

--

FadinGeek

Tech ⚙️ Finance $ | Learning & Trying | Sharing discoveries & mistakes #lifelonglearner