Skip to content

Files

Latest commit

6fcbff8 · Apr 18, 2020

History

History
7 lines (4 loc) · 316 Bytes

README.md

File metadata and controls

7 lines (4 loc) · 316 Bytes

Daily Coding Problem: Problem #45

Good morning! Here's your coding interview problem for today.

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).