Josephus Problem
A case where circularly linked list is handy to provide the solution of the Josephus
Problem.
Consider there are 10 persons. They would like to choose a leader.
The way they decide is that all 10 sit in a circle.
They start a count with person 1 and go in clockwise direction and skip 3. Person 4 reached
is eliminated.
The count starts with the fifth and the next person to go is the fourth in count.
Eventually, a single person remains.
Example
Creation of Circular Linked List
Removing a Player (Executing / Killing) and printing the winner