Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Add JosephusProblem Algorithm #236

Open
DevDatir opened this issue Oct 7, 2024 · 0 comments
Open

Add JosephusProblem Algorithm #236

DevDatir opened this issue Oct 7, 2024 · 0 comments

Comments

@DevDatir
Copy link

DevDatir commented Oct 7, 2024

Problem Statement - The Josephus problem algorithm solves the problem of determining the safe position in a group of people standing in a circle, where every kth person is eliminated until only one remains. It uses a recursive or iterative approach to find the position of the last survivor.

I would love to contribute to this repo @tulika-99.
Can you please assign this to me under the hacktoberfest2024 tag?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant