摘要: package com.pay.test; //定义节点 public class DoubleLinkedList { //初始化头节点 private HeroNode head=new HeroNode(0,"",""); //返回节点头 public HeroNode getHead(){ 阅读全文
posted @ 2023-01-29 19:55 郎小乐 阅读(36) 评论(0) 推荐(0) 编辑
摘要: package com.pay.test; import java.util.LinkedList; public class Node { private Integer data; private Node left; private Node right; public Integer get 阅读全文
posted @ 2023-01-29 19:15 郎小乐 阅读(17) 评论(0) 推荐(0) 编辑