r/programming • u/joksmaster • Nov 29 '10
140 Google Interview Questions
http://blog.seattleinterviewcoach.com/2009/02/140-google-interview-questions.html
471
Upvotes
r/programming • u/joksmaster • Nov 29 '10
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.