Introduction In this article, we will discuss a special case of Josephus problem, when k=2. But before that, we recommend you to visit the previous blog on ‘How to solve Josephus problem using Recursion and Linked List’. We discussed in ...

Introduction Josephus’ problem is a mathematical counting-out problem and claims that it originates from an incident in the first century when the Jewish revolted against Rome. When they saw that they couldn’t stand against the Roman army, Historian Flavius Josephus ...