/** ****************************************************************************** * HOMEWORK, 15-121 ****************************************************************************** * The Josephus Game ****************************************************************************** * * Solves the Josephus problem. * * Name: * *****************************************************************************/ import java.util.*; public class Josephus { /* * Solves the Josephus problem with the doubly circular LL * Returns the survivor's number * "size" is a list length * "rotation" is an elimination order */ public int josephusDCLL(int size, int rotation) { throw new RuntimeException ("You need to implement this method"); } }