首页 > TAG信息列表 > CircularKinkedList

环形链表解决约瑟夫问题

public class CircularKinkedListDemo { //测试 public static void main(String[] args) { CircularKinkedList circularKinkedList = new CircularKinkedList(); circularKinkedList.countBoy(1, 10, 3); } } //定义链表 class CircularKinkedLis