1. Learn
  2. /
  3. Courses
  4. /
  5. Probability Puzzles in R

Connected

Exercise

Two consecutive years

First, let us see how common it is for someone to cash two years in a row.

Here, we will assume just 60 entrants, with cash awarded to the top 6. Each player is represented by a number from 1 through 60.

Instructions

100 XP
  • Determine who, if anyone, cashed in both years 1 and 2.
  • Check whether at least one person cashed in both years.