Skip to content

Commit 0470709

Browse files
Another attempt
1 parent beb85f7 commit 0470709

File tree

1 file changed

+7
-2
lines changed

1 file changed

+7
-2
lines changed

exercises/baffling-birthdays/instructions.md

Lines changed: 7 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -6,8 +6,13 @@ To do this, you need to:
66

77
- Determine if two birthdates have the same month and day.
88
- Generate random birthdates.
9-
- Check if a collection of randomly generated birthdates contains any two with the same month and day.
10-
- Estimate the probability that at least two people in a group share the same birthday (month and day) for different group sizes.
9+
- Check if a collection of randomly generated birthdates contains any two with the same birthday.
10+
- Estimate the probability that at least two people in a group share the same birthday for different group sizes.
11+
12+
~~~~exercism/note
13+
A birthdate includes the full date of birth (year, month, and day), whereas a birthday refers only to the month and day, which repeat each year.
14+
Two birthdates with the same month and day correspond to the same birthday.
15+
~~~~
1116

1217
~~~~exercism/caution
1318
The birthday paradox assumes that:

0 commit comments

Comments
 (0)