sorting-algorithms
sorting-algorithms copied to clipboard
Add JosephusProblem Algorithm
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?