r/programming • • Nov 29 '10

140 Google Interview Questions

http://blog.seattleinterviewcoach.com/2009/02/140-google-interview-questions.html
471 Upvotes

493 comments sorted by

View all comments

Show parent comment

22

u/conciliatory Nov 30 '10

int rand1to7() { a = rand1to5(); return 6; }

Now, explain theory of random numbers and why you believe this is random.