The following algorithm solves Josephus Permutation with Circular Linked List. The program returns the the placement from a number of nodes and jumps.
All parts of josephus are free to use and abuse under the open-source MIT license.
Josephus Permutation was created by Nhat Nguyen.