Shuffled suit: how many times does the next card climb?
Take the 13 cards of a single suit (ranks 1 through 13) and shuffle them into a random order laid left to right.
On average, how many neighboring pairs have the later card ranked strictly higher than the earlier one?
Your answer
Solving needs a free account
Answers, streaks and solutions unlock when you are signed in. Reading the question and the hint stays free.
Discussion
Sign in to join the discussion · reading is open to everyone
💡 Discussion rules
- No full solutions here. Hints and approaches only.
- Complexity, edge cases and intuition are the point.
- Interview experiences are welcome. Respect your NDAs.
Loading discussion…
Learn the concepts
The theory behind this question.
Related questions
Two shuffled decks: how many positions match?Deal five cards, expected number of acesDeal thirteen cards, expected number of heartsDeal ten cards, expected number of face cardsDeal seven cards, expected number of red cardsExpected number of job offers
All questions →