LeetCode Question · Jul 2018

Random 7 using random 5

2 upvotes 736 views 1 reply

Question Details

Generate a random number from 1 to 7 with equal probabililties of each outcome using a function which can generate random number from 1 to 5 with equal probablity. I know...

Full Details

🔒

Unlock full leaked content

Full insider details, leaked discussions, and candidate experiences.

Get Premium →

Topics

Coding