Editing
Computational Complexity
(section)
Jump to navigation
Jump to search
Warning:
You are not logged in. Your IP address will be publicly visible if you make any edits. If you
log in
or
create an account
, your edits will be attributed to your username, along with other benefits.
Anti-spam check. Do
not
fill this in!
== <span style="color: #FFFFFF;">Understanding</span> == Computational complexity is understood through '''Growth''' and '''Checking'''. '''1. The "Big O" (Efficiency)''': Not all "Right" answers are "Useful." * Imagine you have to "Find a person" in a crowd of **N** people. * **Algorithm A**: Check everyone one by one ($O(n)$). * **Algorithm B**: Check every "Possible pair" of people ($O(n^2)$). * If N = 1,000, Algorithm A takes 1,000 steps. Algorithm B takes **1,000,000** steps. * Complexity is the art of "Finding Algorithm A" and "Proving that Algorithm B is too slow." '''2. Solve vs. Check (NP)''': The "Sudoku" principle. * Solving a 1,000x1,000 Sudoku is "Impossible" for a human (finding the solution). * But if I "Give you the answer," you can check if it's correct in a "Few seconds" (checking the solution). * This "Gap" between "Finding" and "Checking" is what keeps the "Internet Secure"βit's why a hacker can't "Find" your password, even though your computer can "Check" it instantly. '''3. The "Unsolvable" (Decidability)''': Some problems aren't just "Hard"; they are "Impossible." * The **Halting Problem** (Alan Turing): You cannot write a computer program that can "Predict" if "Any other program" will eventually stop or run forever. * Complexity teaches us the "Edges of Reason"βthe places where "Math" says: "You cannot go here." '''The 'Traveling Salesman' Problem'''': A classic NP-hard problem. "Given a list of cities, what is the shortest route that visits every city once?" If you have 20 cities, there are **2 quintillion** paths. A computer trying to check them all would take thousands of years. It is the "Everest" of complexity theory. </div> <div style="background-color: #8B0000; color: #FFFFFF; padding: 20px; border-radius: 8px; margin-bottom: 15px;">
Summary:
Please note that all contributions to BloomWiki may be edited, altered, or removed by other contributors. If you do not want your writing to be edited mercilessly, then do not submit it here.
You are also promising us that you wrote this yourself, or copied it from a public domain or similar free resource (see
BloomWiki:Copyrights
for details).
Do not submit copyrighted work without permission!
Cancel
Editing help
(opens in new window)
Navigation menu
Personal tools
Not logged in
Talk
Contributions
Create account
Log in
Namespaces
Page
Discussion
English
Views
Read
Edit
View history
More
Search
Navigation
Main page
Recent changes
Random page
Help about MediaWiki
Tools
What links here
Related changes
Special pages
Page information