Las Vegas algorithm

randomized algorithm guaranteed to eventually produce correct or optimal results

Facts

10 properties
Best-case time complexity
O(n \log(n))
Defining formula
\textrm{ZPP} = \textrm{RP} \cap \,\text{co}\,\textrm{-RP}, \,\!
Discoverer or inventor
László Babai[2]
Named after
Las Vegas[3]
Time of discovery or invention
1979[7]
Worst-case time complexity
O(n^2)
🏷️ Also known as
en Las Vegas algorithm ar خوارزمية لاس فيغاس cs algoritmus typu Las Vegas de Las-Vegas-Algorithmus es algoritmo de Las Vegas fa الگوریتم لاس وگاس fr Algorithme de Las Vegas he אלגוריתם לאס וגאס ja ラスベガス法 ko 라스베이거스 알고리즘 ru Лас-Вегас tr Las Vegas algoritması zh 拉斯维加斯算法
🔖 Identifiers · 6
Image (Wikimedia Commons)
Algorithme lasvegas.png ↗
Dictionary of Algorithms and Data Structures ID
lasVegas
Encyclopedia of China (Third Edition) ID (2026)
20HNT1
Encyclopedia of China (Third Edition) old ID (2021)
46853
Freebase ID
/m/02mvmg
Microsoft Academic ID (discontinued)
154125762

Report an error or request removal Lineage (PROV-JSON)

🔗 Connections
Derivative work 1
Discoverer or inventor 1
Examples 1
Maintained by WikiProject 1
Named after 1
Opposite of 1
Subclass of 1
← Opposite of 1
Press Enter · cited answer in seconds

Summary

Las Vegas algorithm is an algorithmic paradigm[1].

📑 Cite this page

Use these citations when quoting this entity in research, articles, AI prompts, or wherever provenance matters. We aggregate Wikidata + Wikipedia + authoritative open-data sources; the stitched, scored, cross-referenced view is what 4ort.xyz contributes.

APA 4ort.xyz Knowledge Graph. (2026). Las Vegas algorithm. Retrieved November 18, 2026, from https://4ort.xyz/entity/las-vegas-algorithm
MLA “Las Vegas algorithm.” 4ort.xyz Knowledge Graph, 4ort.xyz, 18 Nov. 2026, https://4ort.xyz/entity/las-vegas-algorithm.
BibTeX @misc{4ortxyz_las-vegas-algorithm_2026, author = {{4ort.xyz Knowledge Graph}}, title = {{Las Vegas algorithm}}, year = {2026}, url = {https://4ort.xyz/entity/las-vegas-algorithm}, note = {Accessed: 2026-11-18}}
LLM prompt According to 4ort.xyz Knowledge Graph (aggregator of Wikidata, Wikipedia, and authoritative open-data sources): Las Vegas algorithm — https://4ort.xyz/entity/las-vegas-algorithm (retrieved 2026-11-18)

Canonical URL: https://4ort.xyz/entity/las-vegas-algorithm · Last refreshed:

Edit History

Rolling log of changes to this entity's Wikidata record. Values shown reflect the current state of each edited property — follow the history link to see the precise diff for any edit.

  1. 18w ago · Nyuhn · 2026-07-10 view diff on Wikidata ↗
    Encyclopedia of China (Third Edition) ID (2026) → 20HNT1
    Instance of → algorithmic paradigm
    Discoverer or inventor → László Babai
    Derivative work → Davis–Putnam algorithm
    + 4 other properties edited (see Wikidata diff for full list)
    "Changed the item: QuickStatements 3.0 batch #40849: ZGBK ID"
Live feed via Wikidata EventStreams. New edits appear within minutes of being made on Wikidata.