add josephu question
This commit is contained in:
parent
16dad8f7b6
commit
fa4748c57c
@ -53,6 +53,9 @@ public class DoubleLinkedListDemo {
|
||||
}
|
||||
}
|
||||
|
||||
/**
|
||||
* 双向链表
|
||||
*/
|
||||
class DoubleLinkedList {
|
||||
private final HeroNode2 head = new HeroNode2(0, "", "");
|
||||
|
||||
|
@ -38,6 +38,9 @@ public class Josephu {
|
||||
}
|
||||
}
|
||||
|
||||
/**
|
||||
* 循环单向链表
|
||||
*/
|
||||
class CircleSingleLinkedList {
|
||||
private Boy first = null;
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user