Tios Capital programming question, can anyone answer this?
Anonymous User
288

An ‘in shuffle’ is a perfect shuffle on a standard deck of 52 playing cards that splits the deck in half, then interleaves cards starting with the top half.

  • What is the position of the first card after the 7th shuffle?

  • How many times must one perform the shuffle so that the top card becomes the bottom card?

  • When do the first and last cards in the deck touch?

Can someone explain their code?

Comments (1)