Skip to content

Latest commit

 

History

History
3 lines (2 loc) · 219 Bytes

README.md

File metadata and controls

3 lines (2 loc) · 219 Bytes

This problem was asked by Two Sigma.

Using a function rand5() that returns an integer from 1 to 5 (inclusive) with uniform probability, implement a function rand7() that returns an integer from 1 to 7 (inclusive).