Skip to main content
4 events
when toggle format what by license comment
Apr 13, 2017 at 12:40 history edited CommunityBot
replaced http://codereview.stackexchange.com/ with https://codereview.stackexchange.com/
Sep 7, 2013 at 9:18 comment added 200_success @JohnMark13 explained the sampling error in more detail than I would have, considering that this is a homework problem. I would simply have asked you, what is the maximum possible value of i in your original code? and the maximum possible i in this exercise?
Sep 7, 2013 at 8:41 comment added Somjit Nag Thank you for the detailed answer. The rules imposed are really something i had a hard time working around. I understand what you say about hasNext() and NoSuchElementException. I also understand the problem posed by RunTimeException. I shall raise these topics in the course discussion forums. Thank you all for your answers. Regarding the unbiased sampling part , why do you say that ? ill try plotting out some data for convincing evidence.
Sep 7, 2013 at 8:11 history answered 200_success CC BY-SA 3.0