Cards Shuffling Problem 45

Back to General discussions forum

Chrisislearning     2025-01-31 18:31:32

I don't know why I'm getting wrong results. I did problem 58 (cards names) easily, I applied that method here, I followed instructions and yet something is wrong.

zelevin     2025-01-31 18:59:36

That is because you are shuffling the cards randomly as opposed to doing what the problem asks you to.

Note the following:

You will be given the sequence of non-negative integer random numbers
Chrisislearning     2025-02-01 18:23:18

I appreciate your continuous help. I thought

Then you should for each card generate some random number

is where assignement part starts but it was only fragment of "this is how it works" part.

Please login and solve 5 problems to be able to post at forum