Skip to content

Latest commit

 

History

History
150 lines (84 loc) · 5.06 KB

File metadata and controls

150 lines (84 loc) · 5.06 KB

Randomized algorithms and probabilistic data structures

Table of contents


Probability theory

🎥


Random numbers generation

For cryptographically secure random number generation see Random numbers generation – Cryptographic algorithms and data structures.

🔗


Distributions

Uniform distribution

Normal distribution

Marsaglia polar method

This method is used in some implementations (e.g., in libstdc++ and MSVC STL) of std::normal_distribution.


Sampling

📖

Selection sampling

🔗

📄

Reservoir sampling

🔗

🎥


Shuffling

🔗

📖

Fisher–Yates algorithm

🔗


Probabilistic data structures

Skip lists

🎥

📖

  • Sec. 3.4: Skip lists – Drozdek A. Data structures and algorithms in C++ – Cengage Learning (2012)

📄


HyperLogLog

🔗

🎥