Engineering MathematicsVery hardGATE CS (PYQ pattern)

A uniformly random arrangement of ten distinct numbers a₁, …, a₁₀ is given. Let N be the number of interior positions i (2 ≤ i ≤ 9) with aᵢ larger than both neighbours. What is E[N]?

  1. A. 5/2
  2. B. 3
  3. C. 10/3
  4. D. 8/3

Correct answer: D. 8/3

For each interior position, the largest of the three values aᵢ₋₁, aᵢ, aᵢ₊₁ is equally likely to be in any place: probability 1/3. By linearity E[N] = 8/3.

More Engineering Mathematics (GATE) questions

Exams that ask this topic