Guest Posted September 27, 2007 Report Share Posted September 27, 2007 There are 4 balls marked as "A", "B", "C" and "D" in the order. So, randomly draw one out and then put it back to the next draw position. For example, ABCD -> 3 © CABD -> 3 (B) BACD -> 4 (D) DACB -> 2 (A) So, the question is, how to calculate the final stage with a given draw sequence with minimum draw simulation? Quote Link to comment Share on other sites More sharing options...
0 bonanova Posted September 28, 2007 Report Share Posted September 28, 2007 There are 4 balls marked as "A", "B", "C" and "D" in the order. So, randomly draw one out and then put it back to the next draw position. For example, ABCD -> 3 © CABD -> 3 (B) BACD -> 4 (D) DACB -> 2 (A) So, the question is, how to calculate the final stage with a given draw sequence with minimum draw simulation? OK. It looks like what you do is [1] remove a ball at random [2] re-arrange the other balls into their original order [e.g. ACD in line 3] but ... not ACB in the last line. I don't get that part. [3] replace the removed ball at the beginning [left end] of the line. OK now what are you asking? Can you rephrase it or give an example? Thanks. Quote Link to comment Share on other sites More sharing options...
0 Guest Posted September 28, 2007 Report Share Posted September 28, 2007 [2] re-arrange the other balls into their original order [e.g. ACD in line 3] but ... not ACB in the last line. I don't get that part. -> the "C" put "back" to "B"'s position in line 3 and "B" put "back" to "D"'s position in the last line. OK now what are you asking? Can you rephrase it or give an example? Thanks. For example, 2,3,1,4,1,2,4,3,1,3,2,2,4 How to quickly get the final sequence is: ADBC Quote Link to comment Share on other sites More sharing options...
Question
Guest
There are 4 balls marked as "A", "B", "C" and "D" in the order. So, randomly draw one out and then put it back to the
next draw position. For example,
ABCD -> 3 ©
CABD -> 3 (B)
BACD -> 4 (D)
DACB -> 2 (A)
So, the question is, how to calculate the final stage with a given draw sequence with minimum draw simulation?
Link to comment
Share on other sites
2 answers to this question
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.