Does not look good to me, Here's why : 3+rand(0,1)+rand(0,1)+rand(0,1) : When we have rand(0, 1) + rand(0, 1) + rand(0, 1), a number of possibilities apply: We will have the following cases : 0, 0, 0 or 0, 0, 1 or 0, 1, 0 or 0, 1, 1 or 1, 0, 0 or 1, 0, 1 or 1, 1, 0 or 1, 1, 1, their respective sums be : 0, 1, 1, 2, 1, 2, 2, 3 Does this looks like equal probability? Correct me if I am wrong.
-- You received this message because you are subscribed to the Google Groups "Algorithm Geeks" group. To view this discussion on the web visit https://groups.google.com/d/msg/algogeeks/-/NzeBvbPibX0J. To post to this group, send email to [email protected]. To unsubscribe from this group, send email to [email protected]. For more options, visit this group at http://groups.google.com/group/algogeeks?hl=en.
