add josephu question

This commit is contained in:
ehlxr 2021-04-13 22:16:11 +08:00
parent 16dad8f7b6
commit fa4748c57c
2 changed files with 6 additions and 0 deletions

View File

@ -53,6 +53,9 @@ public class DoubleLinkedListDemo {
}
}
/**
* 双向链表
*/
class DoubleLinkedList {
private final HeroNode2 head = new HeroNode2(0, "", "");

View File

@ -38,6 +38,9 @@ public class Josephu {
}
}
/**
* 循环单向链表
*/
class CircleSingleLinkedList {
private Boy first = null;