Qm

How many rising steps in a shuffled list?

The numbers 1 through 10 are shuffled into a completely random order and written left to right. An "ascent" is a spot where the next number is larger than the current one.

On average, how many ascents appear in the shuffled list of 10 numbers?

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

  1. No full solutions here. Hints and approaches only.
  2. Complexity, edge cases and intuition are the point.
  3. Interview experiences are welcome. Respect your NDAs.

Loading discussion…

Learn the concepts

The theory behind this question.

Related questions

How many falling steps in a shuffled list?Coats handed back at random: how many match?Secret Santa draws: how many pick themselves?Quizzes returned at random: how many honor students?Valet returns cars at random: how many luxury owners win?Expected number of people who get their own hat
All questions →