Glossary: Coding Interviews in Go
math/rand
Also written: rng.Intn, rand.Intn
Go's standard package for random numbers. `rng.Intn(9)` gives a whole number from 0 up to but not including 9.
Glossary: Coding Interviews in Go
Also written: rng.Intn, rand.Intn
Go's standard package for random numbers. `rng.Intn(9)` gives a whole number from 0 up to but not including 9.