SarthakKeshari / Java-Questions-and-Solutions

This repository aims to solve and create new problems from different spheres of coding. A path to help students to get access to solutions and discuss their doubts.
MIT License
46 stars 95 forks source link

Birthday problem #381

Open cyberspace1987 opened 2 years ago

cyberspace1987 commented 2 years ago

Issue Id you have worked upon -

Kindly write your answer here I put in a basic Birthday paradox problem.

Briefly explain your program logic -

Kindly write your answer here In probability theory, the birthday problem or birthday paradox concerns the probability that, in a set of n randomly chosen people, some pair of them will have the same birthday.

Screenshots(Attach 2 screenshots of your own input and output) -

Attach here birthday_capture

birthday_capture_2

Checklist:

Eg - If your code follow the below guidelines. Kindly change [] to [x]

All the conditions should be fulfilled for considering your code for merging -

SarthakKeshari commented 2 years ago

@skylarkrug, Note - I am not closing this PR since this was your first time. Kindly create an issue first and then PR. And follow the PR template and contribution guidelines. You may refer CONTRIBUTING.md(present in the repository) and create an issue.

Kindly create an issue now and claim it. I will assign it to you.