Editing
Randomized Algorithms
(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;">Remembering</span> == * '''Randomized Algorithm''' β An algorithm that employs a degree of "Randomness" as part of its logic. * '''Monte Carlo Algorithm''' β An algorithm that is "Always Fast" but has a "Small chance" of being "Wrong." (Used when 'Speed' is more important than 'Absolute Truth'). * '''Las Vegas Algorithm''' β An algorithm that is "Always Correct" but might take a "Randomly long time" to finish. (Used when 'Truth' is non-negotiable). * '''Deterministic Algorithm''' β A traditional algorithm that "Always" behaves the same way for the same input. * '''Probability of Error (Epsilon)''' β The "Calculated risk" that a Monte Carlo algorithm will give the wrong answer (usually designed to be tiny, like 1 in a billion). * '''Quicksort (Randomized)''' β A famous sorting algorithm that "Picks a random pivot" to avoid "Worst-case" slowness, making it one of the "Fastest" ways to sort data in the world. * '''Miller-Rabin Primality Test''' β A randomized way to check if a "Giant Number" is "Prime," which is the "Secret Sauce" of modern "Cryptography." * '''Random Walk''' β A process where the machine "Moves randomly" to "Explore" a space (e.g., 'Google PageRank' or 'Robot Vacuum cleaners'). * '''Hashing''' β Using "Randomness" (or pseudo-randomness) to "Distribute" data evenly across a memory map to prevent "Clashes." * '''Derandomization''' β The "High-Level" math of "Removing the coins" from an algorithm once you have found the "Pattern of Success." </div> <div style="background-color: #006400; 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