Skip to content

Latest commit

 

History

History
154 lines (86 loc) · 5.21 KB

File metadata and controls

154 lines (86 loc) · 5.21 KB

Randomized algorithms and probabilistic data structures

Table of contents


Probability theory

🎥


Random number generation

For cryptographically secure random number generation see Random number 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

🔗

🎥