Did you know Cards Games

Las Vegas algorithm

Las Vegas algorithm: randomized algorithm guaranteed to eventually produce correct or optimal results. No. 273,097 of 4,515,532 cards by fame.

Las Vegas algorithm: quick facts

Description
Randomized algorithm guaranteed to eventually produce correct or optimal results
Invented
1979, László Babai
Rarity in the game
Epic card
In its topic
No. 600 of 1,517 “Statistics” cards
Wikipedia
article in 18 languages
Wikidata
Q1241487
Wikipedia page views
about 2,000 a month (November 2025 – October 2026)

Fame score: Wikipedia page views (July 2015 – October 2026, 39 languages). Updated .

Picture illustrating “Las Vegas algorithm”
Photo: Fschwarzentruber, CC BY-SA 4.0 (Wikimedia Commons)

Las Vegas algorithm: summary

In computing, a Las Vegas algorithm is a randomized algorithm that always gives correct results; that is, it always produces the correct result or it informs about the failure. However, the runtime of a Las Vegas algorithm differs depending on the input.

Source: Wikipedia (CC BY-SA 4.0)

More cards: Statistics

The best-known of the 1,517 “Statistics” cards

This card's topics

“Las Vegas algorithm” is one of the 4,515,532 cards of Did you know Cards, the free Wikipedia card game where you learn as you play: every card is a piece of knowledge from Wikipedia. Open boosters, complete your albums and challenge other players to duels.