摘要: 链表节点删除 代码: 1 import java.util.*; 2 3 public class Main{ 4 public static void main(String[] args){ 5 Scanner scan = new Scanner(System.in); 6 int m = scan.nex 阅读全文
posted @ 2022-08-29 20:30 yky_xukai的胡思乱想 阅读(25) 评论(0) 推荐(0)
摘要: 重建二叉树 题目链接: 重建二叉树_牛客题霸_牛客网 (nowcoder.com) 根据 前序遍历 和 中序遍历重建二叉树,返回根节点 import java.util.*; /** * Definition for binary tree * public class TreeNode { * int val 阅读全文
posted @ 2022-08-29 11:29 yky_xukai的胡思乱想 阅读(23) 评论(0) 推荐(0)