The Josephus Flavius Game

Reference: Cut The Knot

Images used:

This activity suggests how a Javascript Collection Framework could be developed, based on the model of the Java Collection Framework. View the source code of this file to see how a Circular List (Ring) could be implemented. (Ring.js, ListNode.js)