//利用链表模拟约瑟夫环,来求解该问题;public class Solution { public int LastRemaining_Solution(int n, int m) { CircleList cl= new CircleList(); cl.add(n); int val=cl.method(n,m); return val; }} class CircleList{ private ListNode first=null; public void add(int maxSize){ List...