![](https://img-blog.csdnimg.cn/20201014180756927.png?x-oss-process=image/resize,m_fixed,h_64,w_64)
代码
06屈芳菲
这个作者很懒,什么都没留下…
展开
-
数据结构--栈
package ArraystackDemo; import java.util.Scanner; public class ArraystackDemo { public static void main(String[] args) { // test ArrayStack stack = new ArrayStack(4); String key = ""; boolean loop = true;//是否退出菜单 Scanner scanner = new Scanner(.原创 2021-06-06 19:45:02 · 53 阅读 · 0 评论 -
数据结构--单链表
package linkedlist; public class SinglelinkedlistDemo { public static void main(String[] args) { // test,创建节点 HeroNode hero1 = new HeroNode(1,"菲","大美女"); HeroNode hero2 = new HeroNode(2,"菲","富婆"); HeroNode hero3 = new HeroNode(3,"菲","小仙女"); .原创 2021-05-30 17:43:20 · 46 阅读 · 0 评论 -
数据结构--单链表
package linkedlist; public class SinglelinkedlistDemo { public static void main(String[] args) { // test,创建节点 HeroNode hero1 = new HeroNode(1,"菲","大美女"); HeroNode hero2 = new HeroNode(2,"菲","富婆"); HeroNode hero3 = new HeroNode(3,"菲","小仙女"); .原创 2021-05-30 17:33:05 · 146 阅读 · 2 评论