# TAOCP 3.4.1 Numerical Distributions

> Week 71 of the cracked.guide path: Knuth 3.4.1 Numerical Distributions; LeetCode: 2 NeetCode 150 problems.

Week 71 of 145 on cracked.guide, in TAOCP Vol 2: Seminumerical Algorithms: TAOCP 3.4.1 Numerical Distributions and 2 NeetCode 150 problems. The reading guides budget about 9 hours.

## Key facts {#key-facts}

- [TAOCP 3.4.1 Numerical Distributions](https://cracked.guide/guide/knuth-w054-0): Turning uniform random numbers into other distributions: random integers in a range, general discrete distributions (including the alias method), the normal distribution via the polar method and…
- Phase: TAOCP Vol 2: Seminumerical Algorithms, weeks 64 to 89.
- Updated October 20, 2026.

## By the end of this week you can {#objectives}

- Implement an unbiased random integer in a range without modulo bias.
- Explain how the alias method samples a discrete distribution in constant time.
- Use inversion to turn uniform deviates into exponential deviates.

## This week's tasks {#tasks}

- [TAOCP 3.4.1 Numerical Distributions](https://cracked.guide/guide/knuth-w054-0): about 9 hours
- LeetCode: 2 NeetCode 150 problems

Previous: [Week 70](https://cracked.guide/curriculum/week/70) · Next: [Week 72](https://cracked.guide/curriculum/week/72)

---

Source: https://cracked.guide/curriculum/week/71
cracked.guide: A free, dated 145-week path to getting genuinely cracked at programming.
