loading...

re: Daily Challenge #62 - Josephus Survivor VIEW POST

TOP OF THREAD FULL DISCUSSION
re: No its right, what the Josephus permutation is doing is telling us which solider will survive after all eliminations have happened. The example abo...

I see, if the array starts from 0, the results from your test cases would make sense.

Thanks for clarifying!

Thank you for the question! In the future if my test cases look different than the examples given I will clarify the reason in my original post.

Code of Conduct Report abuse