sorting-algorithms icon indicating copy to clipboard operation
sorting-algorithms copied to clipboard

Add JosephusProblem Algorithm

Open DevDatir opened this issue 1 year ago • 0 comments

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?

DevDatir avatar Oct 07 '24 14:10 DevDatir