Quantcast Interview Question: I was asked how to generate a... | Glassdoor

Interview Question

Software Engineer - Measurement Platform Interview San Francisco, CA

I was asked how to generate a random integer in the range

  [1, 7] if I only had a function that returned random integers from [1, 5].
Answer

Interview Answer

2 Answers

4

l

Anonymous on May 14, 2014
0

and is that supposed to be the difficult one?

Anonymous on May 14, 2014

Add Answers or Comments

To comment on this, Sign In or Sign Up.